Skip to content

Latest commit

 

History

History
63 lines (49 loc) · 1.74 KB

README.md

File metadata and controls

63 lines (49 loc) · 1.74 KB

CLI

Are you tired of running the virtual environment setup script? Or the git module commands to pull all modules? Or perhaps you have more multi-steps command that you have already written and lazy to type the full path?

Meet CLI

cli is a simple everyday cli with a simple mission. Save you keystroke and increase your project efficiency (& accuracy). Look at these benefits:

  1. 📐Shorter. Better. Run shorter commands setup, pull, module with standardisation
  2. 👯‍♂️ Same same! Stop saving script into dev/ or use different standardisation
  3. ❌ No 3rd party script needed. Just use back the good default: pip and python
  4. 🔋🔋🔋 Extra batteries will be included. Add on more scripts as you build along. Use an easy config file.

Installation

  1. This method works.
git clone https://github.com/ytbryan/cli
#then add the export CLI_PATH of cli path.
  1. Add the repo to the PATH

create a cli folder and the folder will be filled with config.yml and scripts

export CLI_PATH="$PATH:<path_to_repo>/cli"

Alternatively

pip install git+http://github.com/ytbryan/cli.git

Getting started

setup does two things. It will insert the CLI_PATH as a location to .config.yml and the scripts if CLI_PATH is empty. And further add cli into PATH such that cli can be used globally across projects.

cli setup 

Set the CLI_PATH

export CLI_PATH="<path_to_this_cloned_project>"

cli --help

cli --help

TODO

  • ship it
  • add config.yml
  • add age to show git commits and its age
  • add show to show the content of the file
  • add alias to each command
  • integrate with pyenv and pick up python version
  • Add Procfile + Honcho
  • [ ]

LICENSE

MIT