cmd

package
v0.1.3-0...-0b0730e Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Root is the top-level cobra.Command for gcrane.
	Root = &cobra.Command{
		Use:               "gcrane",
		Short:             "gcrane is a tool for managing container images on gcr.io",
		Run:               func(cmd *cobra.Command, _ []string) { cmd.Usage() },
		DisableAutoGenTag: true,
		PersistentPreRun: func(cmd *cobra.Command, args []string) {
			if verbose {
				logs.Debug.SetOutput(os.Stderr)
			}
		},
	}
)

Functions

func NewCmdCopy

func NewCmdCopy() *cobra.Command

NewCmdCopy creates a new cobra.Command for the copy subcommand.

func NewCmdGc

func NewCmdGc() *cobra.Command

NewCmdGc creates a new cobra.Command for the gc subcommand.

func NewCmdList

func NewCmdList() *cobra.Command

NewCmdList creates a new cobra.Command for the ls subcommand.

Types

This section is empty.

Jump to

Keyboard shortcuts

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