Module shellfish::handler::default

source ·

Structs

  • Shellfish’s default handler. This handler is pretty simple, given the only special options are help, quit and exit.

Traits

  • A handler lets you change how commands are run. They also let you change the shell built-ins. A handler takes a Vec as input, and return a bool. A handler also takes a HashMap<String, Commands>, so it knows what commands it can run. Likewise, the state is also given.