BeCode-CLI
Hello there, this repository has been created for my BeCode formation, his talking about how to use node to create an application for the CLI
About
This first training on Node is a tool you can use to knows the holidays for a country select by name
💿 How to use ?
If u want to use this you can go on npm, also you need to install Node on your remote.
Right then your able to start the program upload the repository, go in your folder directory into BeCode-CLI, at the root you can start with the command below
npm init
You can skip all the question about package.json
Then a last one
npm install
Finally start the program with the command : holidate nameOfCountry
You may need to fix something for use the holidate command from your CLI, see how about below. Also if it doesnt work you can use this one
✅ Some bug FIX
In developpement we encountered some bug, the first one is to be enable to active a custom command on the CLI
Fix them with theses command from your root
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
export PATH=~/.npm-global/bin:$PATH
source ~/.profile