Documentation ¶
Overview ¶
The argutil package contains libraries for parsing commandline args.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMultiVersion = fmt.Errorf("at most 1 version permitted")
Functions ¶
func ParseDirVersion ¶
ParseDirVersion parses given string of the form dir@verion and returns dir and version.
func ParseDirVersionWithDefaults ¶
ParseDirVersionWithDefaults parses given string of the form dir@version and returns dir and version with following defaults. if dir is missing, return current working directory if version is missing, return "master"
func ParseFieldPath ¶
ParseFieldPath parse a flag value into a field path TODO(pwittrock): Extract this into lib.kpt.dev
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.