Alex Flint
12fa37d10d
add support for embedded structs
2016-10-10 10:48:28 +10:30
Alex Flint
5800b89ce9
fix example function names
2016-07-31 09:14:44 -07:00
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.
2016-02-29 22:05:26 +01:00
Alex Flint
aaae1550b7
Merge pull request #32 from alexflint/override_program_name
...
make it possible to override the name of the program
2016-02-22 06:39:41 -08:00
Alex Flint
c9584269b9
added tests for MAC and email addresses
2016-01-23 20:58:43 -08:00
Alex Flint
9a30acda05
added tests for IP address parsing
2016-01-23 20:55:40 -08:00
Alex Flint
865cc5a973
add support for pointers and TextUnmarshaler
2016-01-23 19:40:15 -08:00
Alex Flint
64a4bab550
add test for invalid durations
2016-01-23 18:35:08 -08:00
Alex Flint
ed2b19f2bb
add support for time.Duration fields
2016-01-23 18:28:35 -08:00
brettlangdon
8dd29d34bf
Add support for environment variables
2016-01-18 13:42:04 -05:00
Alex Flint
b1ec8c9093
make it possible to override the name of the program
2016-01-18 10:31:01 -08:00
Alex Flint
0c0f9a53ac
MustParse returns *Parser
2016-01-05 13:52:33 -08:00
Alex Flint
70c56eff66
add more tests
2015-11-04 10:27:17 -08:00
Alex Flint
4d271f5326
fix float test for go1.4
2015-11-01 13:38:04 -08:00
Alex Flint
f427e9f317
added parser struct
2015-10-31 23:57:26 -07:00
Alex Flint
b9ad104f33
added usage generation
2015-10-31 18:26:58 -07:00
Alex Flint
8397a40f4c
positional arguments working
2015-10-31 17:05:14 -07:00
Alex Flint
408290f7c2
basic first version working
2015-10-31 16:15:24 -07:00