1.0.0 • Published 1 year ago
weather-cli-blystsiv v1.0.0
Weather CLI
This is a command-line interface (CLI) tool for getting weather information from a weather API. It uses Node.js and the npm package manager 💦
Installation
To use the Weather CLI tool, you will need to have Node.js and npm installed on your computer. You can download and install Node.js from the official website: NodeJS website
Once you have Node.js installed, you can install the Weather CLI tool globally by running the following command in your terminal:
$ npm install -g weather-cli
Usage
To use the Weather CLI tool, you will need to sign up for a free API key from the OpenWeatherMap API. Once you have your API key, you can use the following command to get the current weather for a city:
$ weather -h to display help
$ weather -s [CITY] to set the city
$ weather -t [API_KEY] to save the token
$ weather [CITY]
License
1.0.0
1 year ago