Documentation
¶
Index ¶
- Variables
- func Exec(args []string)
- type Console
- func (c *Console) Args() []string
- func (c *Console) Command(name string) bool
- func (*Console) ExecName() string
- func (*Console) Exit(code int)
- func (*Console) Printf(format string, a ...any) (n int, err error)
- func (c *Console) ProfileConfig(profile string) *types.Config
- func (c *Console) RunSubCommand() error
- func (c *Console) Usage(format string)
- func (c *Console) UserConfig() *types.Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultLogLevel defines the initial log level, which is overridden // by any LogLevel defined at the user-level configuration file. DefaultLogLevel = "INFO" ConsoleApp command.App = newConsole() )
Functions ¶
Types ¶
type Console ¶
type Console struct {
// contains filtered or unexported fields
}
func (*Console) RunSubCommand ¶
func (*Console) UserConfig ¶
Click to show internal directories.
Click to hide internal directories.