tidy
This commit is contained in:
@@ -9,21 +9,20 @@ You will need a OpenWeather API-Key. This can be done by opening a free account
|
||||
./go-weather -h
|
||||
```
|
||||
Will give:
|
||||
```
|
||||
Usage of go-weather:
|
||||
```text
|
||||
Usage of ./go-weather:
|
||||
-api string
|
||||
Enter Code e.g. uk, us etc... Default(none) (default "none")
|
||||
Enter you api key here (default "none")
|
||||
-city string
|
||||
Enter city e.g. London, Glasgow etc... (Default: London) (default "London")
|
||||
Enter city e.g. London (default "London")
|
||||
-code string
|
||||
Enter Code e.g. uk, us etc... (Default: uk) (default "uk")
|
||||
|
||||
Enter Code e.g. uk (default "uk")
|
||||
```
|
||||
|
||||
Running the command in a terminal like so:
|
||||
```
|
||||
./go-weather -api=API-KEY -city=Glasgow -code=uk
|
||||
```
|
||||
Will give:
|
||||
**Will give:**
|
||||
```
|
||||
02/17/2022 17:03
|
||||
📍Location: Glasgow, GB
|
||||
|
||||
Reference in New Issue
Block a user