This is cli example of how to catch data from the user with inquirer and also how to execute commands (example git clone).
- You need to have node js, npm and git installed
-
Make sure the file ./index.js have execution permissions, you can type
sudo chmod 777 index.js -
Open a cli inside the project folder and type
sudo npm install -g -
Once installed, type
exampleclicommand (you can change it in the package.json file on "bin" property) -
Type the github repo url to clone
-
you will see the repo clonned into the project folder
-
You can modify the program (inside index.js file on main function)
###Developed by Nicolás Rosales