common

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExactArgs = errors.New("exact number of arguments not provided")
	ErrRangeArgs = errors.New("argument count not in valid range")
)

Functions

func ExactArgs

func ExactArgs(numArgs int) cobra.PositionalArgs

func RangeArgs

func RangeArgs(minArgs, maxArgs int) cobra.PositionalArgs

Types

This section is empty.

Jump to

Keyboard shortcuts

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