summaryrefslogtreecommitdiff
path: root/cli.go
diff options
context:
space:
mode:
Diffstat (limited to 'cli.go')
-rw-r--r--cli.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli.go b/cli.go
index 446f757..3d1911b 100644
--- a/cli.go
+++ b/cli.go
@@ -19,13 +19,17 @@ import (
"golang.org/x/term"
)
+// Readme embed the README.md, rendered in "gotp help".
+//
//go:embed README.md
var Readme string
+// Cli define the command line interface for gotp program.
type Cli struct {
cfg *config
}
+// NewCli create and initialize new CLI for gotp program.
func NewCli() (cli *Cli, err error) {
var (
logp = `NewCli`