@hamilton19/holidate

1.0.1 • Public • Published

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.

📁 Find a link ton install Node Here

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

➡️ node index.js

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 

🔗 Sourced from here

Readme

Keywords

none

Package Sidebar

Install

npm i @hamilton19/holidate

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

9.87 kB

Total Files

3

Last publish

Collaborators

  • hamilton19