info

package
v0.9.2-15-g5ad435ee Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Info

func Info(ctx context.Context, opts *InfoOptions, args ...string) error

Info shows package information.

func New

func New() *cobra.Command

Types

type InfoOptions

type InfoOptions struct {
	Output string `long:"output" short:"o" usage:"Set output format. Options: table,yaml,json,list" default:"table"`
	Update bool   `long:"update" short:"u" usage:"Get latest information about components before listing results"`
}

func (*InfoOptions) Pre added in v0.7.14

func (opts *InfoOptions) Pre(cmd *cobra.Command, _ []string) error

func (*InfoOptions) Run

func (opts *InfoOptions) Run(ctx context.Context, args []string) error

Jump to

Keyboard shortcuts

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