Module shi::command[][src]

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

basic
echo
example
exit
help
helptree
history
parent

Enums

Command

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

Completion represents the result of an autocompletion for command arguments.

Traits

BaseCommand

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()).