Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.50.2 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecCommand

func ExecCommand(runcnx *params.Run, cmd func(*params.Run, *cli.IOStreams) *cobra.Command, args ...string) (string, error)

ExecCommand setup a cobra command for running with params run and custom iostream.

func ExecCommandNoRun added in v0.31.0

func ExecCommandNoRun(cmd func(*cli.IOStreams) *cobra.Command, args ...string) (string, error)

ExecCommandNoRun is a wrapper around ExecuteCommand that does not run the command with the params.Run clients.

Types

This section is empty.

Jump to

Keyboard shortcuts

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