Skip to main content

Module command

Module command 

Source
Expand description

Shared application-command routing.

The host-facing std.native.Command implementation and the native maintenance launcher deliberately share this model. The model knows how to validate routes and turn argv into a deterministic request; it does not know how a host invokes a handler or writes a response.

Structs§

App
A context-local command application. H is intentionally opaque so native hosts can use guest functions while the Rust CLI uses Rust handlers against exactly the same router.
AppConfig
ArgumentSpec
CommandError
OptionSpec
Request
Response
Route
RouteHandle
RouteSpec
Snapshot

Enums§

OptionKind
ParsedValue