Documentation ¶
Index ¶
Constants ¶
View Source
const ( ArgRegister = "register" ArgShow = "show" ArgIntrospect = "introspect" ArgUpdate = "update" )
Variables ¶
This section is empty.
Functions ¶
func SetArgToCmd ¶
func SetHandlerToCmd ¶
func SetHandlerToCmd(cmd string, handlerCmd HandlerType)
func SetUpPreHandler ¶
func SetUpPreHandler(cmd string, handler PreHandlerType)
Types ¶
type HandlerType ¶
type HandlerType func(environment.Environment)
type PreHandlerType ¶
type PreHandlerType func(*environment.Environment)
type ProgArg ¶
type ProgCmd ¶
type ProgCmd struct { Args []ProgArg // contains filtered or unexported fields }
func RetrieveCommand ¶
func RetrieveCommand(env *environment.Environment, args []string) *ProgCmd
func (*ProgCmd) ExecuteHandlers ¶
func (cmd *ProgCmd) ExecuteHandlers(env *environment.Environment)
Click to show internal directories.
Click to hide internal directories.