tshell-0.1.0 has been yanked.
TShell
A command tree framework with autocompletion and contextual help based on rustyline.
Supported Platforms
- Linux
Build
This project uses Cargo and Rust stable
Example
extern crate tshell;
use ;
use HashMap;
crates.io
You can use this package in your project by adding the following
to your Cargo.toml
:
[]
= "0.1.0"
Features
- Command tree structure
- Command completion
- Contextual help
- Command history
- Context switching
Built in commands
Command | Action |
---|---|
up | Move a level, exit from current context |
top | Move to top context |
exit or quit | Exit the shell |
help | lists all the available commands |
? | contextual help |
[Object] ? | help for that object |
ToDo
- Take input from a file
- Output to a file