Skip to content

A bash script to check weather condition via terminal .

License

Notifications You must be signed in to change notification settings

AmirrezaFiroozi/wttr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wttr

This repository is no longer actively maintained.

A Bash script to check weather condition via terminal created by Carsten Brueggenolte.

Current Version: 1.40_2021-05-22

wttr

Installation

$ cd /tmp
$ git clone https://github.com/cblte/bash-script-wttr
$ cd bash-script-wttr
$ bash installer.sh

Usage

The wttr script comes with some parameters explained below

The following arguments are available:

    # get weather report for a city
    wttr cologne
    wttr "Den Haag, Netherlands"

    # get another, different weather report display
    wttr -v2 cologne
    wttr -v2 "Den Haag, Netherlands"

    # install curl which is necessary for script to run correctly 
    wttr -i 
    
    # set a city as your default city.
    # without a second argument, wttr will ask you for input
    wttr -sdef
    
    # set Den Haag as default city
    wttr -sdef "Den Haag, Netherlands"
    
    # see a photo of the Moon
    wttr -m

    # uninstall and remove the wttr script
    wttr -rm
    
    # show the script version
    wttr -v
    
    # show the help screen
    wttr -h

License

This program is licensed under the MIT license

Credit

goes to Amirreza Firoozi for the initial script and some other people he also mentioned in his code: Jadi , Alireza Amirsamimi & Mostafa Asadi.

Thanks!

About

A bash script to check weather condition via terminal .

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages