diff options
| author | Shulhan <ms@kilabit.info> | 2024-06-22 16:35:47 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-06-22 17:21:56 +0700 |
| commit | dbe4f9722bbd63f685b36606abbfd97cbf1dfb10 (patch) | |
| tree | b1eb61d3f75aa60f65541ba51408d3d4a708b48d /testdata/cli_Export_test.txt | |
| parent | 4eaf76a096a0ba8ba5e687ede23c1dafd9064358 (diff) | |
| download | gotp-dbe4f9722bbd63f685b36606abbfd97cbf1dfb10.tar.xz | |
all: implement command "export"
The "export" command export all issuers to file or standard output,
$ gotp export <FORMAT> [FILE]
List of known supported FORMAT is: uri.
If FILE is not defined it will print to standard output.
The list of exported issuers are printed in order of its label.
Diffstat (limited to 'testdata/cli_Export_test.txt')
| -rw-r--r-- | testdata/cli_Export_test.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testdata/cli_Export_test.txt b/testdata/cli_Export_test.txt new file mode 100644 index 0000000..51ae320 --- /dev/null +++ b/testdata/cli_Export_test.txt @@ -0,0 +1,3 @@ + +<<< uri +otpauth://totp/test%20l@bel?algorithm=SHA1&issuer=IssuerName&secret=s3cr3t |
