FILE / ScuroNeko/mtg

internal/cli/cli.go

Исходный файл и его история в репозитории.
FILE 139db15e830f210f793d3c21b3430ba9ce4ca779
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'"`
}