File: otpclient-cli.1

package info (click to toggle)
otpclient 3.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,100 kB
  • sloc: ansic: 6,074; xml: 457; sh: 9; makefile: 3
file content (103 lines) | stat: -rw-r--r-- 2,070 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
.\" Text automatically generated by txt2man
.TH otpclient-cli 1 "06 Jan 2021" "otpclient-cli-2.4.1" "command-line for OTPClient"
.SH NAME
\fBOTPClient-CLI \fP- command-line for OTPClient
\fB
.SH SYNOPSIS
.nf
.fam C
\fBotpclient-cli\fP [\fIOPTIONS\fP]

.fam T
.fi
.fam T
.fi
.SH DESCRIPTION
OTPClient-CLI is simplified version of OTPClient.
.PP
Operations supported:
.IP \(bu 3
list: this will print all pairs of account and issuer that are in the database.
.IP \(bu 3
show: this will show the OTP for a given account/issuer.
.IP \(bu 3
export: this will export data in either one of the following format:
andotp_plain, andotp_encrypted, freeotpplus and aegis.
.SH OPTIONS
Help Options:
.RS
.TP
.B
\fB-h\fP, \fB--help\fP
Show this help.
.TP
.B
\fB--help-show\fP
Show options.
.TP
.B
\fB--help-export\fP
Export options.
.RE
.PP
Main Options:
.RS
.TP
.B
\fB-v\fP, \fB--version\fP
Show program version.
.TP
.B
show
Show a token.
.TP
.B
list
List all pairs of account and issuer.
.TP
.B
export
Export data.
.RE
.PP
Show Options:
.RS
.TP
.B
\fB-a\fP, \fB--account\fP
The account name (mandatory).
.TP
.B
\fB-i\fP, \fB--issuer\fP
The issuer name (optional).
.TP
.B
\fB-m\fP, \fB--match-exactly\fP
Show the token only if it matches exactly the account and/or the issuer (optional).
.TP
.B
\fB-n\fP, \fB--next\fP
Show also the next token, not only the current one (optional, valid only for TOTP).
.RE
.PP
Export Options:
.RS
.TP
.B
\fB-t\fP, \fB--type\fP
Export format. Must be either one of: andotp_plain, andotp_encrypted, freeotpplus, aegis.
.TP
.B
\fB-d\fP, \fB--directory\fP
The output directory where the exported file will be saved.
If nothing is specified, the output folder will be the user's HOME directory.
.SH USAGE
\fBotpclient-cli\fP <main option> [option 1] [option 2] \.\.\.
.SH NOTES
For other information and tutorials, see:
.IP \(bu 3
https://github.com/paolostivanin/OTPClient/wiki
.SH AUTHOR
OTPClient-CLI was written by Paolo Stivanin.
.PP
This manual page was written by Francisco Vilmar Cardoso Ruviaro for the Debian project (but may be used by others).