Module brush_core::builtins
source · Expand description
Infrastructure for shell built-in commands.
Structs§
- Result of executing a built-in command.
- Encapsulates a registration for a built-in command.
Enums§
- Type of help content, typically associated with a built-in command.
- Exit codes for built-in commands.
Traits§
- Trait implemented by built-in shell commands.
- Trait implemented by built-in shell commands that take specially handled declarations as arguments.
- A simple command that can be registered as a built-in.
Functions§
- Returns a built-in command registration, given an implementation of the
Commandtrait. - Returns a built-in command registration, given an implementation of the
SimpleCommandtrait.
Type Aliases§
- Type of a function to retrieve help content for a built-in command.
- Type of a function implementing a built-in command.