Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(cliStructReference interface{}, options RunOptions)
func RunWithArguments ¶
func RunWithArguments(cliStructReference interface{}, options RunOptions, customArgs ...interface{})
Types ¶
type LogConfigFile ¶
type LogFileString ¶
type LogFileString string
func (LogFileString) AfterApply ¶
func (o LogFileString) AfterApply(log *clog.Log) error
type LogLevelString ¶
type LogLevelString string
func (LogLevelString) AfterApply ¶
func (o LogLevelString) AfterApply(log *clog.Log) error
type Options ¶
type Options struct {
LogLevel LogLevelString `help:"the log level"`
LogFile LogFileString `help:"log output file" default:""`
}
type RunOptions ¶
type RunOptions struct {
Version string
ApplicationType ApplicationType
LogConfig interface{}
}
Click to show internal directories.
Click to hide internal directories.