Documentation
¶
Overview ¶
Package flagexp provides some experimental features to provide suggestions for typos in flag names. Requires the `pflag` package and is highly sensitive to changes in the package, as it's based on the error messages returned by the package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseWithSuggestions ¶
ParseWithSuggestions parses the command-line arguments and suggests the closest flag name if a typo is detected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.