docs: update description and add cli usage
This commit is contained in:
parent
cdc5030baa
commit
d9c255b089
20
README.md
20
README.md
|
@ -14,8 +14,8 @@
|
||||||
> [`main`](https://github.com/markjoshwel/surplus/tree/main) branch.
|
> [`main`](https://github.com/markjoshwel/surplus/tree/main) branch.
|
||||||
|
|
||||||
surplus is a Python script to convert
|
surplus is a Python script to convert
|
||||||
[Google Map Plus Codes](https://maps.google.com/pluscodes/)
|
[Google Maps Plus Codes](https://maps.google.com/pluscodes/)
|
||||||
to iOS Shortcuts-like human-readable text.
|
to iOS Shortcuts-like shareable text.
|
||||||
|
|
||||||
- [installation](#installation)
|
- [installation](#installation)
|
||||||
- [command-line usage](#command-line-usaage)
|
- [command-line usage](#command-line-usaage)
|
||||||
|
@ -56,19 +56,19 @@ pip install git+https://github.com/markjoshwel/surplus.git@future
|
||||||
```text
|
```text
|
||||||
usage: surplus [-h] [-d] [-v] [query ...]
|
usage: surplus [-h] [-d] [-v] [query ...]
|
||||||
|
|
||||||
Plus Code to iOS-Shortcuts-like shareable text
|
Google Maps Plus Code to iOS Shortcuts-like shareable text
|
||||||
|
|
||||||
positional arguments:
|
positional arguments:
|
||||||
query full-length Plus Code (6PH58QMF+FX),
|
query full-length Plus Code (6PH58QMF+FX), shortened
|
||||||
local code (8QMF+FX Singapore), or
|
Plus Code/'local code' (8QMF+FX Singapore),
|
||||||
latlong (1.3336875, 103.7749375)
|
latlong (1.3336875, 103.7749375), or string
|
||||||
|
query (e.g., 'Wisma Atria')
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
-d, --debug prints lat, long and reverser
|
-d, --debug prints lat, long and reverser response dict to
|
||||||
response dict to stderr
|
stderr
|
||||||
-v, --version prints version information to stderr
|
-v, --version prints version information to stderr and exits
|
||||||
and exits
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## developer's guide
|
## developer's guide
|
||||||
|
|
Loading…
Reference in a new issue