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
.
Breaking News. cmdshelf has been ported to Rust-lang.
Previous binary install should work until next release.
bash <(curl -sL https://raw.githubusercontent.com/toshi0383/scripts/master/swiftpm/install.sh) toshi0383/cmdshelf
(coming soon)
cmdshelf-completion.bash
is copied under /usr/local/etc/bash-completion.d
. All you have to do is to make bash be aware of that file.
Either put this in your ~/.bashrc
,
source /usr/local/etc/bash_completion.d/cmdshelf-completion.bash
Any contribution is welcomed. Feel free to open issue for bug reports, questions, or feature requests.