cmd

package
v0.0.0-...-178cce0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Root = New(use, short)

Functions

func New

func New(use, short string) *cobra.Command

New returns a top-level command for crane. This is mostly exposed to share code with gcrane.

func NewCmdExtract

func NewCmdExtract() *cobra.Command

NewCmdExtract creates a new cobra.Command for the extract subcommand.

func NewCmdList

func NewCmdList() *cobra.Command

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

Types

type ByAge

type ByAge []google.ManifestInfo

func (ByAge) Len

func (s ByAge) Len() int

func (ByAge) Less

func (s ByAge) Less(i, j int) bool

func (ByAge) Swap

func (s ByAge) Swap(i, j int)

Jump to

Keyboard shortcuts

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