otp-cli

command module
Version: v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

README

otp-cli

otp-cli is a tool for generate otp code in terminal.

Install

go get github.com/chyroc/otp-cli

check

otp-cli version # expect output: otp-cli version v0.3.0

Usage

NAME:
   otp-cli - generate otp client

USAGE:
   main [global options] command [command options] [arguments...]

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --secret value, -s value       otp secret text
   --secret-file value, -f value  otp secret file
   --copy, -c                     copy to clipboard (default: false)
   --quiet, -q                    not output to console (default: false)
   --help, -h                     show help (default: false)
  • generate from secret text string
otp-cli -s '<secret>'
  • generate from secret file
otp-cli -f '<secret file>'
  • generate and copy to clipboard
otp-cli -s '<secret>' -c
  • generate ,copy to clipboard and not output to console
otp-cli -s '<secret>' -c -q

Documentation

The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL