Documentation ¶
Overview ¶
Package cli implements a basic command line interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bundle ¶
type Bundle struct { Root string Prefix string Filter string // contains filtered or unexported fields }
Bundle implements subcommands.Command for the "bundle" command.
func (*Bundle) Execute ¶
func (b *Bundle) Execute(ctx context.Context, fs *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type Check ¶
Check implements subcommands.Command for the "check" command.
func (*Check) Execute ¶
func (c *Check) Execute(ctx context.Context, fs *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type Filter ¶
type Filter struct { Configs flags.StringList Output string Text bool Test bool }
Filter implements subcommands.Command for the "filter" command.
func (*Filter) Execute ¶
func (f *Filter) Execute(ctx context.Context, fs *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
type Stdlib ¶
type Stdlib struct {
// contains filtered or unexported fields
}
Stdlib implements subcommands.Command for the "stdlib" command.
func (*Stdlib) Execute ¶
func (s *Stdlib) Execute(ctx context.Context, fs *flag.FlagSet, args ...any) subcommands.ExitStatus
Execute implements subcommands.Command.Execute.
Click to show internal directories.
Click to hide internal directories.