cmdutil

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExactArgs added in v0.1.4

func ExactArgs(n int) cobra.PositionalArgs

ExactArgs returns a PositionalArgs that reports the command's Use line on mismatch.

func GetFormat

func GetFormat(cmd *cobra.Command) string

GetFormat returns the output format from flags.

func NewClient

func NewClient(cmd *cobra.Command) (*api.Client, error)

NewClient creates an API client from the cobra command context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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