cmd

package
v0.13.3 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

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 added in v0.7.0

func New() *cobra.Command

New create a new root command.

func NewWithViper added in v0.8.0

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