mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-23 11:44:55 +01:00
docs(CLI): filled README.md
All possible documentation was added in a quality sufficient for a first release. After all, everything there is is documented. Fixes #50
This commit is contained in:
@@ -17,6 +17,8 @@ VALUE_ARG = 'v'
|
||||
KEY_VALUE_ARG = 'kv'
|
||||
SCOPE_FLAG = 'scope'
|
||||
CONFIG_DIR_FLAG = 'config-dir'
|
||||
DEBUG_FLAG = 'debug'
|
||||
DEBUG_AUTH_FLAG = 'debug-auth'
|
||||
|
||||
FILE_ARG = '<file>'
|
||||
MIME_ARG = '<mime>'
|
||||
@@ -100,6 +102,9 @@ def arg_ident(name):
|
||||
def flag_ident(name):
|
||||
return 'flag_' + ident(name)
|
||||
|
||||
def application_secret_path(program_name):
|
||||
return program_name + '-secret.json'
|
||||
|
||||
# Returns identifier for method dealing with options for the given resource-method pair
|
||||
def call_method_ident(resource, method):
|
||||
return '_%s_%s' % (ident(resource), ident(method))
|
||||
|
||||
Reference in New Issue
Block a user