cobra

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(cmd *cobra.Command, cmds ...*cobra.Command) *cobra.Command

NewCommand returns Command.

func Run

func Run(rootCmd *cobra.Command, cmds ...*cobra.Command) error

Run uses the args and run through the command tree finding appropriate matches for commands and then corresponding flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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