Documentation ¶
Overview ¶
Package argparse implements lidl argument parsing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
Args holds named and position arguments
func ParseArgs ¶
ParseArgs parses presplit arguments into command arguments.
TODO: quote handling TODO: deal with duplicate keys TODO: add -- equivalent
func (*Args) Arg ¶
Arg returns the given argument, even if it is not set.
func (*Args) NamedArg ¶
Named returns a named argument, or a default if it is not set.
Click to show internal directories.
Click to hide internal directories.