Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireExperimental ¶
RequireExperimental checks whether the --experimental (-X) flag has been set on the command (or any of its parents, since it is a persistent flag). It returns a descriptive error when the flag is not set, guiding the user to opt in explicitly. Note: This function assumes that what is "experimental" is a subcommand, rather than a flag on an otherwise non-experimental command.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.