Better command-line argument parsing

This commit is contained in:
Neale Pickett
2015-10-19 20:09:44 -06:00
parent 67bbc37794
commit 6d2102ab8b
2 changed files with 41 additions and 23 deletions
+7 -2
View File
@@ -40,9 +40,9 @@ This script opens a browser window where you can log in to your Google account a
## Usage
Run `fitsync.py` to download data from Fitbit and upload to Google,
Use the `patch` command to download data from Fitbit and upload to Google,
$ python fitsync.py
$ python fitsync.py patch
Use the `delete` command to remove data from Google,
@@ -52,6 +52,11 @@ Use the `get` command to see the data stored in Google,
$ python fitsync.py get
There are a few options supported,
$ python fitsync.py --help
## See your data
To view weight data on [Google Fit](https://fit.google.com),