Skip to main content

Module shell

Module shell 

Source
Expand description

Shell orchestration and command processing.

Brings together I/O, command trees, authentication, and history into interactive CLI. Follows unified architecture: single code path handles both auth-enabled and auth-disabled modes. Lifecycle: Inactiveactivate() → (LoggedOut →) LoggedIndeactivate().

Re-exports§

pub use decoder::InputDecoder;
pub use decoder::InputEvent;
pub use handler::CommandHandler;
pub use history::CommandHistory;

Modules§

decoder
Input decoder for terminal character sequences.
handler
Command handler trait for executing commands.
history
Command history with up/down arrow navigation.

Structs§

Shell
Shell orchestration struct.

Enums§

CliState
CLI state (authentication state).
HistoryDirection
History navigation direction.
Request
Request type representing parsed user input.