Merge pull request #21 from pkirkovsky/prompt-password

Prompt for password if none is given
This commit is contained in:
Nex 2021-07-21 11:20:24 +02:00 committed by GitHub
commit 3004690fd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ def cli():
help="Path to the folder where to store the decrypted backup")
@click.option("--password", "-p", cls=MutuallyExclusiveOption,
help="Password to use to decrypt the backup",
prompt="Enter backup password", hide_input=True, prompt_required=False,
mutually_exclusive=["key_file"])
@click.option("--key-file", "-k", cls=MutuallyExclusiveOption,
type=click.Path(exists=True),