Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
Exec ExecCmd `cmd:"" help:"import data in directory by running fetch, transform and publish" default:"withargs"`
Publish PublishCmd `cmd:"" help:"load data from stdin into directory"`
GetPlugin GetPluginCmd `cmd:"" help:"download plugin"`
SetDefaultPlugin SetDefaultPluginCmd `cmd:"" help:"sets a plugin as default"`
ListPlugins ListPluginsCmd `cmd:"" help:"list available plugins"`
Version VersionCmd `cmd:"" help:"version information"`
Config kong.ConfigFlag `short:"c" help:"Path to the config file. Any argument provided to the CLI will take precedence."`
Verbosity int `short:"v" type:"counter" help:"Use to increase output verbosity."`
}
type ExecCmd ¶
type ExecCmd struct {
PublishCmd
CommandArgs []string `name:"command" passthrough:"" arg:"" help:"available commands are: ${plugins}"`
Print bool `name:"print" short:"p" help:"print output to stdout"`
PluginFolder string `hidden:""`
// contains filtered or unexported fields
}
type GetPluginCmd ¶
type GetPluginCmd struct{}
type ListPluginsCmd ¶
type ListPluginsCmd struct{}
type PublishCmd ¶
type SetDefaultPluginCmd ¶
type SetDefaultPluginCmd struct{}
type VersionCmd ¶
type VersionCmd struct{}
Click to show internal directories.
Click to hide internal directories.