Crate brush_core

Source
Expand description

Core implementation of the brush shell. Implements the shell’s abstraction, its interpreter, and various facilities used internally by the shell.

Modules§

builtins
Infrastructure for shell built-in commands.
completion
Implements programmable command completion support.

Macros§

minus_or_plus_flag_arg
Macro to define a struct that represents a shell built-in flag argument that can be enabled or disabled by specifying an option with a leading ‘+’ or ‘-’ character.

Structs§

CreateOptions
Options for creating a new shell.
ExecutionContext
Represents the context for executing a command.
ExecutionParameters
Parameters for execution.
ExecutionResult
Encapsulates the result of executing a command.
Shell
Represents an instance of a shell.
ShellVariable
A shell variable.
TerminalControl
Encapsulates the state of a controlled terminal.

Enums§

Error
Monolithic error type for the shell
ShellValue
A shell value.