package cmd

import "github.com/google/go-containerregistry/cmd/gcrane/cmd"

Index

Variables

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.

Source Files

copy.go gc.go list.go root.go

Version
v0.1.0
Published
Jun 3, 2020
Platform
js/wasm
Imports
12 packages
Last checked
1 minute ago

Tools for package owners.