Expand description
Built-in shell commands for frost.
Provides a Builtin trait, a ShellEnvironment trait (so builtins
stay decoupled from the executor), and a BuiltinRegistry that maps
command names to their implementations.
Structs§
- Builtin
Registry - A registry mapping command names to
Builtinimplementations.
Traits§
- Builtin
- A single built-in command.
- Shell
Environment - Trait that builtins use to interact with the shell environment.
Functions§
- default_
builtins - Build a registry populated with the standard builtins.