FILE / ScuroNeko/mtg

internal/cli/cli.go

Исходный файл и его история в репозитории.
FILE b47e13556ef57288ac1af03fa9e9c655e644ead9
Files
mtg/internal/cli/cli.go
T

13 lines
538 B
Go

package cli
import "github.com/alecthomas/kong"
type CLI struct {
GenerateSecret GenerateSecret `kong:"cmd,help='Generate new proxy secret'"`
Doctor Doctor `kong:"cmd,help='Check that proxy can run correctly'"`
Access Access `kong:"cmd,help='Print access information.'"`
Run Run `kong:"cmd,help='Run proxy.'"`
SimpleRun SimpleRun `kong:"cmd,help='Run proxy without config file.'"`
Version kong.VersionFlag `kong:"help='Print version.',short='v'"`
}