Drop auth-file default path #420, Use click.prompt(), click_context testing
Compare changes
+ 9
− 8
@@ -51,19 +51,20 @@ def has_auth_method(ctx: click.Context) -> bool:
define_click_context()
auth
: import top-level click
auth
: Replace getpass.getpass
with click.prompt(hide_input=True)
-af
/--auth-file
, AUTH_FILE_PATH
context
authentication
cmd: stop reading default ./authfile
It has to be specified as an argument and no longer as an option Pass Path directly (#469) Rename variable