cmdshelf
is a new way of scripting.๐
- โ
Seperate name space using directories (e.g.
swiftpm/install.sh
your/tool/install.sh
) - โ
No more
$PATH
configurations - โ 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 cmdshelf
Note that rust is required.
Put this in your ~/.bashrc
,
source /path-to/cmdshelf-completion.bash
Any contribution is welcomed. Feel free to open issue for bug reports, questions, or feature requests.