All Projects â†’ toshi0383 â†’ Cmdshelf

toshi0383 / Cmdshelf

Licence: other
Better scripting life with cmdshelf 📚

Programming Languages

rust
11053 projects

cmdshelf

cmdshelf Git Versionlicense

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.

Install

macOS

brew install cmdshelf

It's recommended to upgrade your bash to version 4, to use full feature of cmdshelf's bash-completion.
See: https://github.com/toshi0383/cmdshelf/pull/88

Build from source

With Rust's package manager cargo, you can install cmdshelf via:

cargo install cmdshelf

Note that rust is required.

Install auto bash-completion

Put this in your ~/.bashrc,

source /path-to/cmdshelf-completion.bash

Contribute

Any contribution is welcomed. Feel free to open issue for bug reports, questions, or feature requests.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].