cobra

package
v1.0.0-dev.156 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 7 Imported by: 0

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