Updating readme and updating cargo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2023-06-14 19:18:31 +02:00
parent e481e5c44a
commit f677568513
2 changed files with 23 additions and 21 deletions

View File

@@ -14,21 +14,23 @@ open-meteo-cli current-weather [FLAGS] [OPTIONS]
```
#### Options
- `-l, --latitude <LATITUDE>`: Latitude as a decimal number.
- `-L, --longitude <LONGITUDE>`: Longitude as a decimal number.
- `-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.
- `--format <format>`: Switches data format between Normal, Clean or JSON. Default value is Normal.
#### Flags
- `-a, --all`: Displays all the information.
- `-d, --is-day`: Displays if it's day or night.
- `-d, --is-day`: Displays if it is day or night.
- `-t, --temperature`: Displays the decimal temperature.
- `-w, --windspeed`: Displays the decimal wind speed.
- `-W, --winddirection`: Displays the wind direction.
- `-W, --winddirection`: Displays the wind direction, in degrees.
- `--coords`: Displays the latitude and the longitude.
- `--city`: Displays the city.
- `-c, --clean`: Cleans the output and only displays the values separated by commas.
- `-c, --clean`: Displays the output separated by commas. Same as '--format clean'.
- The order of values is as follows: latitude, longitude, city, is_day, temperature, windspeed, winddirection.
- `-j, --json`: Displays the output as JSON. Same as '--format json'
#### Examples