Skip to main content

Module argenums

Module argenums 

Source
Expand description

Shared clap::ValueEnum wrappers for the closed-enum CLI flags.

The SDK/host layer enums (RenderMode, BrowserChoice, DisplayMode, …) must not depend on clap — the sdk-only build has no clap. So the CLI layer keeps thin ValueEnum mirrors here and converts into the domain types at dispatch. Variants render in kebab-case by default, which gives each flag a validated value list, shell completion, and a uniform “invalid value … [possible values: …]” error for free.

Enums§

BrowserArg
--browser backend. Kebab-case canonical names; the legacy underscore spellings stay accepted as hidden aliases.
DisplayArg
--display mode for the host.
HealthPublicArg
--health-public mode.
RenderArg
--render strategy.
TakeoverProviderArg
--takeover-provider selector: off (or none) disables the takeover surface, a provider name selects it.