improve readme

This commit is contained in:
Antonio J. Delgado 2024-11-16 23:22:21 +02:00
parent b1eb3935df
commit 093bf87f5c

View file

@ -29,31 +29,31 @@ Usage: nc_password_client.sh [OPTIONS] COMMAND [ARGS]...
### Options: ### Options:
| option | parameters | description | | option | parameters | description |
| ------ | ---------- | ----------- | | --------------------- | ------------------------------------------ | --------------------------------------------------------------- |
| -d, --debug-level | [CRITICAL|ERROR|WARNING|INFO|DEBUG|NOTSET] | Set the debug level for the standard output.| | -d, --debug-level | [CRITICAL|ERROR|WARNING|INFO|DEBUG|NOTSET] | Set the debug level for the standard output. |
| -l, --log-file | TEXT | File to store all debug messages.| | -l, --log-file | TEXT | File to store all debug messages. |
| -H, --host | TEXT | Nextcloud host name [required]| | -H, --host | TEXT | Nextcloud host name [required] |
| -u, --user | TEXT | Nextcloud user name [required]| | -u, --user | TEXT | Nextcloud user name [required] |
| -a, --api-token | TEXT | Nextcloud user's application token [required]| | -a, --api-token | TEXT | Nextcloud user's application token [required] |
| -p, --cse-password | TEXT | Nextcloud user's end-to-end encryption password| | -p, --cse-password | TEXT | Nextcloud user's end-to-end encryption password |
| -t, --timeout | INTEGER | Timeout for HTTPS requests| | -t, --timeout | INTEGER | Timeout for HTTPS requests |
| -c, --cache-duration | INTEGER | Number of seconds to hold the list of passwords| | -c, --cache-duration | INTEGER | Number of seconds to hold the list of passwords |
| -P, --https-proxy | TEXT | HTTPS proxy to use to connect to the Nextcloud instance| | -P, --https-proxy | TEXT | HTTPS proxy to use to connect to the Nextcloud instance|
| --config | FILE | Read configuration from FILE.| | --config | FILE | Read configuration from FILE. |
| --help || Show this message and exit.| | --help | | Show this message and exit. |
### Commands: ### Commands:
| command | description | | command | description |
| ------------------------ | ----------- | | ------------------------ | ---------------------------------------------- |
| create-password |Create a password| | create-password |Create a password |
| create-passwords-folder |Create a password folder| | create-passwords-folder |Create a password folder |
| delete-all-passwords |Delete all passwords| | delete-all-passwords |Delete all passwords |
| delete-password |Delete a password| | delete-password |Delete a password |
| delete-passwords-folder |Delete a password folder| | delete-passwords-folder |Delete a password folder |
| list-passwords-folders |List all password folders| | list-passwords-folders |List all password folders |
| ls |List all password| | ls |List all password |
| migrate-pass |Migrate Password Store passwords to Nextcloud...| | migrate-pass |Migrate Password Store passwords to Nextcloud...|
| remove-duplicates |Remove duplicate passwords| | remove-duplicates |Remove duplicate passwords |
| show |Show a single password| | show |Show a single password |
Use --help after the command to get more details of it's options Use --help after the command to get more details of it's options