Fixed google.credentials script order of arguments in the docstring.

This commit is contained in:
Fabio Manganiello 2024-01-19 01:48:33 +01:00
parent a5b7e2b52e
commit 1323156838
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774
5 changed files with 5 additions and 10 deletions

View file

@ -50,8 +50,7 @@ class GooglePlugin(Plugin):
mkdir -p <WORKDIR>/credentials/google
python -m platypush.plugins.google.credentials \
'calendar.readonly,gmail.modify' \
[--noauth_local_webserver] \
<WORKDIR>/credentials/google/client_secret.json
<WORKDIR>/credentials/google/client_secret.json [--noauth_local_webserver]
When launched with ``--noauth_local_webserver``, the script will
start a local webserver and print a URL that should be opened in

View file

@ -49,8 +49,7 @@ class GoogleCalendarPlugin(GooglePlugin, CalendarInterface):
mkdir -p <WORKDIR>/credentials/google
python -m platypush.plugins.google.credentials \
'calendar.readonly' \
[--noauth_local_webserver] \
<WORKDIR>/credentials/google/client_secret.json
<WORKDIR>/credentials/google/client_secret.json [--noauth_local_webserver]
When launched with ``--noauth_local_webserver``, the script will
start a local webserver and print a URL that should be opened in

View file

@ -49,8 +49,7 @@ class GoogleDrivePlugin(GooglePlugin):
mkdir -p <WORKDIR>/credentials/google
python -m platypush.plugins.google.credentials \
'drive,drive.appfolder,drive.photos.readonly' \
[--noauth_local_webserver] \
<WORKDIR>/credentials/google/client_secret.json
<WORKDIR>/credentials/google/client_secret.json [--noauth_local_webserver]
When launched with ``--noauth_local_webserver``, the script will
start a local webserver and print a URL that should be opened in

View file

@ -59,8 +59,7 @@ class GoogleFitPlugin(GooglePlugin, RunnablePlugin):
fitness.location.read
"
$ python -m platypush.plugins.google.credentials "$roles" \
[--noauth_local_webserver] \
<WORKDIR>/credentials/google/client_secret.json
<WORKDIR>/credentials/google/client_secret.json [--noauth_local_webserver]
When launched with ``--noauth_local_webserver``, the script will
start a local webserver and print a URL that should be opened in

View file

@ -58,8 +58,7 @@ class GoogleMailPlugin(GooglePlugin):
mkdir -p <WORKDIR>/credentials/google
python -m platypush.plugins.google.credentials \
'gmail.modify' \
[--noauth_local_webserver] \
<WORKDIR>/credentials/google/client_secret.json
<WORKDIR>/credentials/google/client_secret.json [--noauth_local_webserver]
When launched with ``--noauth_local_webserver``, the script will
start a local webserver and print a URL that should be opened in