Module shi::command[][src]

Expand description

A module for the commands portion of shi.

This module includes all command-related functionality and interfaces for using shi.

Re-exports

pub use echo::*;
pub use exit::*;
pub use help::*;
pub use helptree::*;
pub use history::*;
pub use parent::ParentCommand;
pub use basic::BasicCommand;

Modules

Enums

Command represents all and any command that should exist in shi. It represents a clear bifurcation: a command is either a Leaf or a Parent command.

Completion represents the result of an autocompletion for command arguments.

Traits

BaseCommand is the lower-level command trait. It covers many of the behaviors one would expect from a shell command, e.g., a name (name()) or execution (execute()).