Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 543 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 543 Bytes

bash CLI template to build bash CLI

how to use

clone the repository

git clone https://github.com/shakibamoshiri/bash-CLI-template.git
cd bash-CLI-template

run ./cli.sh

./cli

modify according to your needs

Core parts:

  • variables for echo options
    • _os_flag
    • _os_args
    • etc
  • helper functions, show / print to users
    • _help
    • _os_help
  • check functions: to check the arguments, safety checks
    • _os_check
    • etc

You can modify these parts and customize it.