Command line interface to get weather forcast globally.
- Clone the repo
git clone https://github.com/NamamiShanker/agro-cli.git
- Navigate to project directory
cd agro-cli
- Install the project using pip
pip3 install -e .
- Add an environment variable
WEATHER_API_KEY='your open weather map api key'
- Use the agro CLI
agro --city=London --date=2021-07-29
- Get weather forecast for a city for a specified date.
agro --city=Lucknow --date=2021-07-29
- Get weather forecast with coordinates and specified date.
agro -lt=26 -lg=82 --date=2021-07-29
--help
parameter to get started with arguments.
agro --help