Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LintCommand ¶
type LintCommand struct { Format string `kong:"help='Report format [${enum}].',default='summary',enum='json, summary'"` NoColor bool `kong:"help='No color output'"` Paths []string `kong:"arg,required,help='Path to Dockerfile.',type:'path'"` ReturnValue string `kong:"help='Set return value to one of [${enum}] NOT_IMPLEMENTED.',default='app',enum='app, bool, num'"` // nolint:lll Verbosity string `kong:"help='Verbosity level [${enum}].',default='normal',enum='normal, short'"` }
func (*LintCommand) Run ¶
func (lintCommand *LintCommand) Run() error
type LspCommand ¶
type LspCommand struct {
Port int `help:"Port number" default:"18888"`
}
type VersionCommand ¶
type VersionCommand struct{}
type WhaleLintCLI ¶
type WhaleLintCLI struct { Lint LintCommand `kong:"cmd,help='run linter.'"` Lsp LspCommand `kong:"cmd,help='run language server'"` Version VersionCommand `kong:"cmd,help='show version.'"` Config string `kong:"help='config file path NOTIMPLEMENTED'"` // nolint:gofmt,gofumpt,goimports }
func (WhaleLintCLI) ApplyDefaultCommand ¶
func (t WhaleLintCLI) ApplyDefaultCommand(err error, args *[]string)
func (*WhaleLintCLI) Options ¶
func (*WhaleLintCLI) Options() []kong.Option
Click to show internal directories.
Click to hide internal directories.