Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Value ¶ added in v0.4.3
Value parses command line arguments, supporting boolean, numbers, strings, arrays, objects.
The parser implements a superset of JSON, but only a subset of YAML by allowing for arrays and objects having a trailing comma. In addition 3 strings types are supported:
- single quoted string (no unescaping of any characters)
- double quoted strings (characters are escaped)
- strings without quotes. String parsing stops in special characters like '[]{},:'
In addition, top-level values can be separated by ',' to build arrays without having to use [].
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.