Skip to main content

Module shell

Module shell 

Source
Expand description

Chevron shell - Minimal interactive kernel shell

Provides a simple interactive command-line interface for kernel management. Prompt: >>>

Modules§

commands
Shell command registry and entry points
output
Shell output formatting and capture.
parser
Shell command parser with pipeline and redirection support.
scripting
Minimal shell scripting: variable expansion, if, for, while.

Enums§

ShellError
Shell error types

Statics§

SHELL_INTERRUPTED
Global flag set by Ctrl+C. Long-running commands should poll this via is_interrupted and abort early when it returns true.

Functions§

is_interrupted
Returns true if Ctrl+C was pressed, and clears the flag.
run_line
Execute one shell line without prompt/history handling.
shell_main
Main shell loop