Skip to content

The app allows you to get the weather forecast and IP address info.

License

Notifications You must be signed in to change notification settings

AMProduction/MyWeather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

The app allows you to get the weather forecast and IP address info.

How to use it

Prerequisite: obtain the Weather API key

Usage:

MyWeather [command]

Available Commands:

Command Description
completion Generate the autocompletion script for the specified shell
help Help about any command
mylocation Show the info about your location
show Show current weather information
version Print the version number of MyWeather

Global flags:

  • --config string config file (default is $APP/.env)
  • -h, --help help for MyWeather

Usage:

MyWeather show [flags]

Show a user up-to-date current weather information in the desired location.

Flags:

  • -c, --city string City name e.g.: Paris
  • -l, --lang string Returns 'condition:text' in the desired language
  • -h, --help help for show

Usage:

MyWeather mylocation [flags]

Show the geo info about your location by your IP or any.

Flags:

  • -i, --ip string IP address. If not set the app uses your current IP.
  • -h, --help help for mylocation

Use MyWeather [command] --help for more information about a command.

Powered by WeatherAPI.com
Powered by WeatherAPI.com

About

The app allows you to get the weather forecast and IP address info.

Topics

Resources

License

Stars

Watchers

Forks

Languages