cmd

package
v1.16.5 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute creates the root command and executes it.

func New

func New() *cobra.Command

New create a new root command.

func NewWithViper

func NewWithViper(vp *viper.Viper) *cobra.Command

NewWithViper creates a new root command with the given viper.

Types

This section is empty.

Directories

Path Synopsis
Package common implements utilities that are meant to be used commonly by all sub-commands to ensure consistency across them.
Package common implements utilities that are meant to be used commonly by all sub-commands to ensure consistency across them.
validate
Package validate implements utilities to validate the command configuration by, for example, validating a set of given options.
Package validate implements utilities to validate the command configuration by, for example, validating a set of given options.

Jump to

Keyboard shortcuts

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