Adding SpeedUnit and TempUnit
This commit is contained in:
10
README.md
10
README.md
@@ -9,19 +9,21 @@ CLI to extract meteorology data from Open Meteo.
|
||||
Displays the current weather for your IP address automatically or for specific coordinates.
|
||||
|
||||
```
|
||||
open-meteo-cli current-weather [OPTIONS] --latitude <LATITUDE> --longitude <LONGITUDE>
|
||||
open-meteo-cli current-weather [FLAGS] [OPTIONS]
|
||||
```
|
||||
|
||||
#### Options
|
||||
- `-l, --latitude <LATITUDE>`: Latitude as a decimal number.
|
||||
- `-L, --longitude <LONGITUDE>`: Longitude as a decimal number.
|
||||
- `--temperature-unit <temperature-unit>`: Switches between Celsius or Fahrenheit. Default value is Celsius.
|
||||
- `--speed-unit <speed-unit>`: Switches between km/h, m/s, mp/h or knots. Default value is Kmh.
|
||||
|
||||
#### Flags
|
||||
- `-a, --all`: Displays all the information.
|
||||
- `-d, --is-day`: Displays if it's day or night.
|
||||
- `-t, --temperature`: Displays the decimal temperature, in Celsius.
|
||||
- `-w, --windspeed`: Displays the decimal wind speed, in km/h.
|
||||
- `-W, --winddirection`: Displays the wind direction, in degrees.
|
||||
- `-t, --temperature`: Displays the decimal temperature.
|
||||
- `-w, --windspeed`: Displays the decimal wind speed.
|
||||
- `-W, --winddirection`: Displays the wind direction.
|
||||
- `--coords`: Displays the latitude and the longitude.
|
||||
- `--city`: Displays the city.
|
||||
- `-c, --clean`: Cleans the output and only displays the values separated by commas.
|
||||
|
||||
Reference in New Issue
Block a user