cmdshelf is a new way of scripting.π
- β
Seperate name space using directories (e.g.
swiftpm/install.shyour/tool/install.sh) - β
No more
$PATHconfigurations - β bash-completion for all commands
- β
stdout,stdin,stderr - β
No quoting required for arguments. (just like
swift run) - β The coolest manual page
- β
Portable environment (
.cmdshelf.toml) - β Execute any executables.
You can see detailed document here, or type man cmdshelf.
brew install cmdshelf
It's recommended to upgrade your bash to version 4, to use full feature of cmdshelf's bash-completion.
See: #88
With Rust's package manager cargo, you can install cmdshelf via:
cargo install cmdshelfNote that rust is required.
Put this in your ~/.bashrc,
source /path-to/cmdshelf-completion.bashAny contribution is welcomed. Feel free to open issue for bug reports, questions, or feature requests.