mirror of
https://github.com/88lex/safire.git
synced 2025-02-21 20:37:13 +08:00
temp swap back to run_console
This commit is contained in:
parent
9c1119e982
commit
bfbf42ab86
2 changed files with 3 additions and 2 deletions
|
@ -144,6 +144,7 @@ class Auth:
|
|||
creds.refresh(Request())
|
||||
else:
|
||||
flow = InstalledAppFlow.from_client_secrets_file(credentials[0], scopes)
|
||||
creds = flow.run_local_server()
|
||||
# creds = flow.run_local_server()
|
||||
creds = flow.run_console()
|
||||
with open(token, "wb") as tkn:
|
||||
pickle.dump(creds, tkn)
|
||||
|
|
|
@ -21,7 +21,7 @@ from lib.utils import *
|
|||
|
||||
|
||||
class Commands:
|
||||
"""safire creates projects, service accounts(SAs), json keys for SAs and to add SAs as group members.\n Type -h
|
||||
"""safire creates projects, service accounts(SAs), json keys for SAs and adds SAs as group members.\n Type -h
|
||||
or --help after any command for info. Usage: './safire list projects' or 'safire add members mygroup@domain.com'
|
||||
Most commands accept a 'filter'to process subsets. If no filter all items are listed."""
|
||||
|
||||
|
|
Loading…
Reference in a new issue