mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -16,7 +16,7 @@ def add_parsers(parser):
|
|||||||
|
|
||||||
# pwnagotchi plugins search
|
# pwnagotchi plugins search
|
||||||
parser_google_auth = google_subparsers.add_parser('auth', help='Google Authentication')
|
parser_google_auth = google_subparsers.add_parser('auth', help='Google Authentication')
|
||||||
parser_google_auth.add_argument('true', type=str, help="This will start the authentication process")
|
parser_google_auth.add_argument('bool', type=bool, help="This will start the authentication process")
|
||||||
|
|
||||||
return parser
|
return parser
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ def handle_cmd(args):
|
|||||||
Parses the arguments and does the thing the user wants
|
Parses the arguments and does the thing the user wants
|
||||||
"""
|
"""
|
||||||
if args.plugincmd == 'auth':
|
if args.plugincmd == 'auth':
|
||||||
return auth(args)
|
return auth(args.bool)
|
||||||
elif args.plugincmd == 'refresh':
|
elif args.plugincmd == 'refresh':
|
||||||
return refresh(args)
|
return refresh(args)
|
||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
Reference in New Issue
Block a user