cmd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "replicated",
	Short: "Manage channels and releases",
	Long:  `The replicated CLI allows vendors to manage their apps' channels and releases.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Cmd added in v0.6.0

func Cmd() *cobra.Command

func Execute

func Execute(stdin io.Reader, stdout io.Writer, stderr io.Writer) error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Releaser added in v0.6.0

type Releaser struct {
	// contains filtered or unexported fields
}

func (*Releaser) Release added in v0.6.0

func (r *Releaser) Release(
	ctx context.Context,
) error

Jump to

Keyboard shortcuts

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