chore: add i18n about strings for CLI commands

This commit is contained in:
Aiden McClelland
2026-03-26 15:15:51 -06:00
parent 8d9be64c19
commit f3d2782f18
10 changed files with 200 additions and 10 deletions

View File

@@ -126,24 +126,28 @@ pub fn vhost_api<C: Context>() -> ParentHandler<C> {
Ok(())
})
.with_about("about.dump-vhost-proxy-table")
.with_call_remote::<CliContext>(),
)
.subcommand(
"add-passthrough",
from_fn_async(add_passthrough)
.no_display()
.with_about("about.add-vhost-passthrough")
.with_call_remote::<CliContext>(),
)
.subcommand(
"remove-passthrough",
from_fn_async(remove_passthrough)
.no_display()
.with_about("about.remove-vhost-passthrough")
.with_call_remote::<CliContext>(),
)
.subcommand(
"list-passthrough",
from_fn(list_passthrough)
.with_display_serializable()
.with_about("about.list-vhost-passthrough")
.with_call_remote::<CliContext>(),
)
}