Skip to main content

Crate frost_builtins

Crate frost_builtins 

Source
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§

BuiltinRegistry
A registry mapping command names to Builtin implementations.

Traits§

Builtin
A single built-in command.
ShellEnvironment
Trait that builtins use to interact with the shell environment.

Functions§

default_builtins
Build a registry populated with the standard builtins.