Documentation ¶
Overview ¶
Package cli provides boilerplate code required to generate plugin executable. At high level it performs following tasks 1. Validate command arguments 2. Read and unmarshal input 3. Execute relevant plugin functions 4. marshals output
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
CLI struct is used to create an executable for plugin.
func NewWithLogger ¶
NewWithLogger creates a new CLI using given plugin and logger
Click to show internal directories.
Click to hide internal directories.