Module brush_core::builtins

source ·
Expand description

Infrastructure for shell built-in commands.

Structs§

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 Command trait.
  • Returns a built-in command registration, given an implementation of the SimpleCommand trait.

Type Aliases§