Fredrik Wallgren
1488562b1e
Allow override of defaults for slice arguments
This commit fixes a bug where if a multiple value argument (slice) has default
values, the submitted values will be appended to the default. Not
overriding them as expected.
10 years ago
Alex Flint
e389d7f782
add support for IP address, email address, and MAC address
10 years ago
Alex Flint
865cc5a973
add support for pointers and TextUnmarshaler
10 years ago
Alex Flint
ed2b19f2bb
add support for time.Duration fields
10 years ago
Brett Langdon
8dd29d34bf
Add support for environment variables
10 years ago
Alex Flint
b1ec8c9093
make it possible to override the name of the program
10 years ago
Alex Flint
0c0f9a53ac
MustParse returns *Parser
10 years ago
Fredrik Wallgren
330a0da571
Add built ins to options in help output
Adds help to the options in help output with an easy way to add more
built ins.
10 years ago
Fredrik Wallgren
ab43eae565
Move package documentation to doc.go
10 years ago
Alex Flint
70c56eff66
add more tests
10 years ago
Alex Flint
95bf6f25e0
fix first example in docs - h/t eric somerlade
10 years ago
Alex Flint
60f2612c0c
separate help into WriteUsage and WriteHelp
10 years ago
Alex Flint
f042ab6386
add .travis.yml
10 years ago
Alex Flint
cd9f5188a8
fix example
10 years ago
Alex Flint
beede9329a
added runnable examples
10 years ago
Alex Flint
30befae91a
move more stuff over to the parser struct
10 years ago
Alex Flint
f427e9f317
added parser struct
10 years ago
Alex Flint
04e96c0c6b
udpate readme
10 years ago
Alex Flint
b9ad104f33
added usage generation
10 years ago
Alex Flint
8397a40f4c
positional arguments working
10 years ago
Alex Flint
408290f7c2
basic first version working
10 years ago