geographic commands¶
| Plugin | Geographic |
| Brief | Geographic information commands. |
cityinfo¶
| Aliases | No alias |
| Brief | Show city information. |
| Usage | cityinfo city [code] |
positional arguments:
city the city name
code optional ISO-3166 country code
Details¶
To retrieve the ISO-3166 country code, use the ** isocode ** command.
isocode¶
| Aliases | No alias |
| Brief | Show ISO-3166 country codes. |
| Usage | isocode expr |
positional arguments:
expr string that represents a country name's beginning
Examples¶
isocode A |
Show ISO-3166 code for countries whose name begins with ‘A’. |
time¶
| Aliases | No alias |
| Brief | Retrieve local time. |
| Usage | time [city] [code] |
positional arguments:
city the city name
code optional ISO-3166 country code
Examples¶
time |
Show the local time. |
time London |
Show London’s time. |
time London uk |
Equivalent to “time London”. |
Details¶
To retrieve the ISO-3166 country code, use the ** isocode ** command.
weather¶
| Aliases | No alias |
| Brief | Retrieve weather forecast for specific countries, or cities. |
| Usage | weather city [code] |
positional arguments:
city the city name
code optional ISO-3166 country code
Examples¶
weather London |
Show the weather in London, UK. |
weather London uk |
Equivalent to “weather London”. |
Details¶
To retrieve the ISO-3166 country code, use the ** isocode ** command.