Documentation ¶
Index ¶
- func Generate(cfg quicli.Config)
- func MarshallCommandContent(c Command) (out string)
- func MarshallCompletion(c Command) (out string)
- func MarshallFlagCase(f Flag) (out string)
- func MarshallFlagCases(flags []Flag) (out string)
- func MarshallFlagDefinitions(flags []Flag) (out string)
- func MarshallFlagInitVar(f Flag) (out string)
- func MarshallOutput(cmdName, cmdContent, cmdCompletion string) (out string)
- func ProcessCommand(c Command) (out string)
- func SetCommand(cfg quicli.Config)
- func SetFlag(cfg quicli.Config)
- func SetScript(cfg quicli.Config)
- type Command
- type CommandContent
- type Completion
- type Config
- type Flag
- type FlagCase
- type FlagCaseCommand
- type FlagInit
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshallCommandContent ¶
func MarshallCompletion ¶
func MarshallFlagCase ¶
func MarshallFlagCases ¶
func MarshallFlagDefinitions ¶
func MarshallFlagInitVar ¶
func MarshallOutput ¶
MarshallOutput: take command and construct shell output accordingly
func ProcessCommand ¶
ProcessCommand: take the command and return all the sheesh output (function + completion)
func SetCommand ¶
SetCommand: create a sheesh command (add it to others if they exist)
Types ¶
type CommandContent ¶
type Completion ¶
type FlagCaseCommand ¶
Click to show internal directories.
Click to hide internal directories.