Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExactArgs ¶
func ExactArgs(n int) cobra.PositionalArgs
ExactArgs returns an error if there are not exactly n args.
func MaximumNArgs ¶
func MaximumNArgs(n int) cobra.PositionalArgs
MaximumNArgs returns an error if there are more than N args.
func MinimumNArgs ¶
func MinimumNArgs(n int) cobra.PositionalArgs
MinimumNArgs returns an error if there is not at least N args.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.