⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module shell

Module shell 

Source
Expand description

VeridianOS Shell Implementation

Basic shell with command parsing and built-in commands.

§Module structure

  • mod.rs - Shell struct, main loop, command dispatch, and public types
  • [commands] - All built-in command implementations
  • [state] - Global singleton management (init, get_shell, try_get_shell)

Structs§

EnvVar
Shell environment variable
Shell
VeridianOS Shell
ShellConfig
Shell configuration

Enums§

CommandResult
Command execution result

Traits§

BuiltinCommand
Shell built-in command

Functions§

get_shell
Get the global shell.
init
Initialize the shell.
run_shell
Run shell as a process.
try_get_shell
Try to get the global shell (non-panicking).