Move cli to separate package

This commit is contained in:
9seconds
2021-03-11 05:50:04 +03:00
parent 1a02511afe
commit 6b28488fbd
7 changed files with 114 additions and 58 deletions
+11
View File
@@ -0,0 +1,11 @@
package cli
import (
"github.com/alecthomas/kong"
)
type CLI struct {
GenerateSecret GenerateSecret `cmd help:"Generate new proxy secret"` // nolint: govet
Access Access `cmd help:"Print access information."` // nolint: govet
Version kong.VersionFlag `help:"Print version."`
}