zapi-cli v1.1.1
Zapi CLI
This is a small project is an exercise given to me by my professor.
I've decided to take it a few steps further and use it as a playground in which I made an effort to write cleaner and better code.
It uses things i wasn't familiar with using yet, such as the events module as well as organizing my code into more separate files more efficiently with subdirectories such as the /lib/
.
This project is a CLI for an API, api.js
present in the project.
Installation
npm i zapi-cli -g
Usage
npm i -g
Can be ran inside the root of the project to install it globally.
zapi [command] [args]
is the general command syntax.
Commands:
All commands are now neatly viewable via the zapi help
command.
CLI slider controls:
Left and right arrow keys to increment and decrement. ctrl+arrow will add/sub 10 shift+arrow will add/sub 100. enter will confirm the selected value.