Documentation
¶
Overview ¶
Package examples provides commands for browsing and retrieving embedded scafctl examples.
Index ¶
- func CommandExamples(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
- func CommandGet(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
- func CommandList(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
- type GetOptions
- type ListOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommandExamples ¶
func CommandExamples(cliParams *settings.Run, ioStreams *terminal.IOStreams, path string) *cobra.Command
CommandExamples creates the 'examples' command group.
func CommandGet ¶
CommandGet creates the 'examples get' command.
Types ¶
type GetOptions ¶
type GetOptions struct {
IOStreams *terminal.IOStreams
CliParams *settings.Run
Path string
Output string // output file path (empty = stdout)
}
GetOptions holds options for the examples get command.
type ListOptions ¶
type ListOptions struct {
IOStreams *terminal.IOStreams
CliParams *settings.Run
KvxOutputFlags flags.KvxOutputFlags
Category string
}
ListOptions holds options for the examples list command.
Click to show internal directories.
Click to hide internal directories.