cmd

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCommandDescription = command.NewDescription(
	"ydbops",
	"ydbops: a CLI tool for performing YDB cluster maintenance operations",
	"ydbops: a CLI tool for performing YDB cluster maintenance operations",
)

Functions

func InitRootCommandTree added in v0.0.3

func InitRootCommandTree(root *cobra.Command, f cmdutil.Factory)

func NewRootCommand added in v0.0.3

func NewRootCommand(
	logLevelSetter zap.AtomicLevel,
	logger *zap.SugaredLogger,
	boptions *command.BaseOptions,
) *cobra.Command

Types

type RootOptions added in v0.0.3

type RootOptions struct {
	*command.BaseOptions
}

func (*RootOptions) DefineFlags added in v0.0.3

func (r *RootOptions) DefineFlags(fs *pflag.FlagSet)

func (*RootOptions) Validate added in v0.0.3

func (r *RootOptions) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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