Skip to content

izicodes/Cli-Mate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌞 Cli-Mate 🌦️

☆ Introduction

Cli-Mate harnesses the power of Open-Meteo, a remarkable weather API, to provide you with accurate and reliable weather data. The CLI interface is built using the incredible commander package, ensuring a seamless and user-friendly experience. And thanks to the magic of axios, making API requests has never been easier.


Table of Content

☆ Installation

By installing Cli-Mate from npmjs.com, you can effortlessly get access to the CLI tool and explore its weather-fetching capabilities.

  1. Open your terminal or command prompt.
  2. Run the following command to install Cli-Mate from npmjs.com:
npm i cli-mate-tool

This command will globally install Cli-Mate, allowing you to use it from anywhere in your terminal.


☆ The commands

max-min-temps

Displays the maximum and minimum temperatures of the day of a city

npx cli-mate max-min-temps

sun-info

Fetches the sun information of the day of a city. Outputs the sun rising and setting times

npx cli-mate sun-info

Enjoy your weather adventures with Cli-Mate! ☀️🌦️⛅🌧️🌈


☆ Contributing

Contributions to Cli-Mate are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request on the project repository..


☆ Contact

If you have any questions, suggestions, or just want to connect, you can reach me via my blog The XiaCodes Blog.