portable mode: allow to read the password from a file

Fixes #1206

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2023-02-25 10:24:23 +01:00
parent 195cb9f081
commit b0cfaf189c
2 changed files with 17 additions and 1 deletions

View File

@@ -84,6 +84,9 @@ Flags:
--log-utc-time Use UTC time for logging
-p, --password string Leave empty to use an auto generated
value
--password-file string Read the password from the specified
file path. Leave empty to use an auto
generated value
-g, --permissions strings User's permissions. "*" means any
permission (default [list,download])
-k, --public-key strings