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.
By installing Cli-Mate from npmjs.com, you can effortlessly get access to the CLI tool and explore its weather-fetching capabilities.
- Open your terminal or command prompt.
- 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.
Displays the maximum and minimum temperatures of the day of a city
npx cli-mate max-min-temps
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! ☀️🌦️⛅🌧️🌈
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..
If you have any questions, suggestions, or just want to connect, you can reach me via my blog The XiaCodes Blog.