1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

python: regenerate OPTIONS.rst

This commit is contained in:
matejcik 2020-03-04 13:45:19 +01:00
parent fabd504b77
commit 687c32e267
2 changed files with 53 additions and 28 deletions

View File

@ -26,36 +26,41 @@ on one page here.
Usage: trezorctl [OPTIONS] COMMAND [ARGS]...
Options:
-p, --path TEXT Select device by specific path.
-v, --verbose Show communication messages.
-j, --json Print result as JSON object
--version Show the version and exit.
--help Show this message and exit.
-p, --path TEXT Select device by specific path.
-v, --verbose Show communication messages.
-j, --json Print result as JSON object
-P, --passphrase-on-host Enter passphrase on host.
-s, --session-id HEX Resume given session ID.
--version Show the version and exit.
--help Show this message and exit.
Commands:
binance Binance Chain commands.
btc Bitcoin and Bitcoin-like coins commands.
cardano Cardano commands.
clear-session Clear session (remove cached PIN, passphrase, etc.).
cosi CoSi (Cothority / collective signing) commands.
crypto Miscellaneous cryptography features.
device Device management commands - setup, recover seed, wipe, etc.
eos EOS commands.
ethereum Ethereum commands.
fido FIDO2, U2F and WebAuthN management commands.
firmware-update Upload new firmware to device.
get-features Retrieve device features and settings.
lisk Lisk commands.
list List connected Trezor devices.
monero Monero commands.
nem NEM commands.
ping Send ping message.
ripple Ripple commands.
set Device settings.
stellar Stellar commands.
tezos Tezos commands.
usb-reset Perform USB reset on stuck devices.
version Show version of trezorctl/trezorlib.
binance Binance Chain commands.
btc Bitcoin and Bitcoin-like coins commands.
cardano Cardano commands.
clear-session Clear session (remove cached PIN, passphrase, etc.).
cosi CoSi (Cothority / collective signing) commands.
crypto Miscellaneous cryptography features.
debug Miscellaneous debug features.
device Device management commands - setup, recover seed, wipe, etc.
eos EOS commands.
ethereum Ethereum commands.
fido FIDO2, U2F and WebAuthN management commands.
firmware-update Upload new firmware to device.
get-features Retrieve device features and settings.
get-session Get a session ID for subsequent commands.
lisk Lisk commands.
list List connected Trezor devices.
monero Monero commands.
nem NEM commands.
ping Send ping message.
ripple Ripple commands.
set Device settings.
stellar Stellar commands.
tezos Tezos commands.
usb-reset Perform USB reset on stuck devices.
version Show version of trezorctl/trezorlib.
wait-for-emulator Wait until Trezor Emulator comes up.
Binance Chain commands.
~~~~~~~~~~~~~~~~~~~~~~~
@ -163,6 +168,25 @@ Miscellaneous cryptography features.
encrypt-keyvalue Encrypt value by given key and path.
get-entropy Get random bytes from device.
Miscellaneous debug features.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. code::
trezorctl debug --help
.. code::
Usage: trezorctl debug [OPTIONS] COMMAND [ARGS]...
Miscellaneous debug features.
Options:
--help Show this message and exit.
Commands:
show-text Show text on Trezor display.
Device management commands - setup, recover seed, wipe, etc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@ -3,3 +3,4 @@ These scripts automate some tasks related to release process.
* __`relicence.py`__ rewrites licence headers in all non-empty Python files
* __`linkify-changelog.py`__ generates Markdown links to github issues/PRs in changelog
* __`bump-required-fw-versions.py`__ downloads latest firmware versions and updates trezorlib requirements
* __`make-options-rst.py`__ runs all `trezorctl` commands with the `--help` option and concatenates output as `OPTIONS.rst`