1.0.5 • Published 2 years ago
terminal_cli v1.0.5
Usage
~$ terminal --help
_____ _ _ ____ _ ___
|_ _| ___ _ __ _ __ ___ (_) _ __ __ _ | | / ___| | | |_ _|
| | / _ \ | '__| | '_ ` _ \ | | | '_ \ / _` | | | | | | | | |
| | | __/ | | | | | | | | | | | | | | | (_| | | | | |___ | |___ | |
|_| \___| |_| |_| |_| |_| |_| |_| |_| \__,_| |_| \____| |_____| |___|
Usage: terminal -i <initialize>
┌────────────────────────────────────┐
│ │
│ │
│ Configure KKiaPay Pos Terminal │
│ │
│ │
└────────────────────────────────────┘
Options:
--version Show version number [boolean]
-i, --initialize Initialize environment [string]
-c, --configure Configure Terminal [string]
-b, --build build for production [string]
--help Show help [boolean]Installation
- Run
npm install -g terminal_clito install the CLI.
:warning: This might cause an error which can be resolved easily by using
sudowith the command, however, usingsudowithnpmis not recommended because it might cause permission issues later. So instead put the code below in your .bashrc file and then run the above command again.npm set prefix ~/.npm PATH="$HOME/.npm/bin:$PATH" PATH="./node_modules/.bin:$PATH"
- Now you are good to go and can use the CLI globally!
Type terminal or terminal --help to get started.
License
MIT © TerminalCLI