cmds

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 11 Imported by: 1

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL