otp-cli

command module
v0.2.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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL