Skip to main content

Module console

Module console 

Source
Expand description

Console application (bin/console analogue).

Structs§

AboutCommand
Prints Serenade version, environment, and debug flag.
Application
Discoverable command registry and argv runner.
CommandService
Newtype so command trait objects can be stored in the container.
DebugConfigCommand
Dumps DI parameters. Requires debug mode; redacts secret-like keys by default.
DebugContainerCommand
Lists DI service ids: plain text, or a small TUI when stdout is a TTY.
Input
Context and trailing arguments for a command run.
RegisterCommandsPass
Registers APPLICATION_SERVICE from services tagged COMMAND_TAG.

Enums§

ConsoleError
Failures while parsing argv or running a command.

Constants§

APPLICATION_SERVICE
Container id of the compiled Application.
COMMAND_TAG
Service tag applied to console command definitions.

Traits§

Command
A discoverable console command (foo:bar).