otpclient-cli1
Command-line for otpclient
Usage
otpclient-cli [OPTIONS]
Overview
OTPClient-CLI is simplified version of OTPClient.
Options
Help Options:
-
-h, --help -
Show help options.
-
--help-all -
Show all help options.
-
--help-gapplication -
Show GApplication options.
GApplication Options:
-
--gapplication-service -
Enter GApplication service mode (use from D-Bus service files)
Application Options:
-
-d, --database -
(optional) path to the database. Default value is taken from otpclient.cfg
-
-s, --show -
Show a token for a given account.
-
-a, --account -
Account name (to be used with --show, mandatory)
-
-i, --issuer -
Issuer (to be used with --show, optional)
-
-m, --match-exact -
Match exactly the provided account/issuer (to be used with --show, optional)
-
-n, --show-next -
Show also next OTP (to be used with --show, optional)
-
-l, --list -
List all accounts and issuers for a given database.
-
--import -
Import a database.
-
--export -
Export a database.
-
-t, --type -
The import/export type for the database (to be used with --import/--export, mandatory). Must be either one of: andotp_plain, andotp_encrypted, aegis_plain, aegis_encrypted, authpro_plain, authpro_encrypted, twofas_plain, twofas_encrypted, freeotpplus_plain
-
-f, --file -
File to import (to be used with --import, mandatory).
-
-o, --output-dir -
The output directory (defaults to the user's home. To be used with --export, optional)
-
-v, --version -
Show the program version.
Usage
otpclient-cli [option 1] [option 2] ...
Notes
For other information and tutorials, see:
- •
-
https://github.com/paolostivanin/OTPClient/wiki
Releases
3 releases since Debian 11 (Bullseye); the text changed 1 time.
--database since Debian 13 (Trixie);
--export since Debian 13 (Trixie);
--file since Debian 13 (Trixie);
--gapplication-service since Debian 13 (Trixie);
--help-all since Debian 13 (Trixie);
--help-gapplication since Debian 13 (Trixie);
--import since Debian 13 (Trixie);
--list since Debian 13 (Trixie);
--match-exact since Debian 13 (Trixie);
--output-dir since Debian 13 (Trixie);
--show since Debian 13 (Trixie);
--show-next since Debian 13 (Trixie);
-f since Debian 13 (Trixie);
-l since Debian 13 (Trixie);
-o since Debian 13 (Trixie);
-s since Debian 13 (Trixie).
--directory until Debian 12 (Bookworm);
--help-export until Debian 12 (Bookworm);
--help-show until Debian 12 (Bookworm);
--match-exactly until Debian 12 (Bookworm);
--next until Debian 12 (Bookworm).