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§
- Browser
Arg --browserbackend. Kebab-case canonical names; the legacy underscore spellings stay accepted as hidden aliases.- Display
Arg --displaymode for the host.- Health
Public Arg --health-publicmode.- Render
Arg --renderstrategy.- Takeover
Provider Arg --takeover-providerselector:off(ornone) disables the takeover surface, a provider name selects it.