toshi0383 / cmdshelf

Better scripting life with cmdshelf πŸ“š

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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: #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.

About

Better scripting life with cmdshelf πŸ“š

License:Apache License 2.0


Languages

Language:Rust 68.7%Language:Shell 31.3%