Documentation ¶
Index ¶
- func NewCommands(options *CommandOptions) []*cobra.Command
- func NewConfigGroupCommand(helpSystem *help.HelpSystem) (*cobra.Command, error)
- func NewGetCommand(options *CommandOptions) *cobra.Command
- func NewListCommand(options *CommandOptions) *cobra.Command
- func NewServeCommand(options *CommandOptions) *cobra.Command
- type CommandOptions
- type GetCommand
- type ListCommand
- type ServeCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommands ¶ added in v0.1.6
func NewCommands(options *CommandOptions) []*cobra.Command
NewCommands creates all prompto commands with the given options
func NewConfigGroupCommand ¶
func NewConfigGroupCommand(helpSystem *help.HelpSystem) (*cobra.Command, error)
func NewGetCommand ¶
func NewGetCommand(options *CommandOptions) *cobra.Command
func NewListCommand ¶
func NewListCommand(options *CommandOptions) *cobra.Command
func NewServeCommand ¶ added in v0.1.2
func NewServeCommand(options *CommandOptions) *cobra.Command
Types ¶
type CommandOptions ¶ added in v0.1.6
type CommandOptions struct {
Repositories []string
}
func NewCommandOptions ¶ added in v0.1.6
func NewCommandOptions(repositories []string) *CommandOptions
NewCommandOptions creates a new CommandOptions with the given repositories
type GetCommand ¶ added in v0.1.6
type GetCommand struct {
// contains filtered or unexported fields
}
type ListCommand ¶ added in v0.1.6
type ListCommand struct {
// contains filtered or unexported fields
}
type ServeCommand ¶ added in v0.1.6
type ServeCommand struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.