yr/README.md
Tim Hårek Andreassen 5fb146f602
docs: Add usage
Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-10-03 16:13:14 +02:00

28 lines
415 B
Markdown

# yr
Get the weather delivered to your command-line.
## Usage
```bash
# Get help
yr --help
# Current forecast for location
yr now bergen
# Or with a space
yr now "new york"
# Forecast for multiple hours
yr forecast "new york"
# Forecast for next 5 hours
yr forecast "new york" -i 5
# Open forecast in your web browser
yr forecast "new york" --web
# Open now in your web browser
yr now "new york" --web
```