Alex Flint
|
eb0393e9bc
|
Merge pull request #158 from alexflint/unexported-embedded
Recurse into unexported embedded structs
|
2021-05-24 21:50:33 -07:00 |
Alex Flint
|
fa12c02e81
|
recurse into unexported embedded structs
|
2021-05-24 21:45:11 -07:00 |
Alex Flint
|
679be43af3
|
Merge pull request #153 from alexflint/test-empty-map
Fix case where an empty environment variable is parsed in a slice or map
|
2021-04-20 19:11:21 -07:00 |
Alex Flint
|
2e81334206
|
fix case where an environment variable containing an empty string is parsed into a slice or map
|
2021-04-20 19:09:47 -07:00 |
Alex Flint
|
9d937ba6c9
|
Merge pull request #152 from alexflint/mappings-with-commas
Add an example of mappings with commas
|
2021-04-20 12:26:56 -07:00 |
Alex Flint
|
1e81bb6866
|
fix the mappings-with-commas example
|
2021-04-20 12:23:49 -07:00 |
Alex Flint
|
4354574615
|
Merge pull request #151 from alexflint/fix-lint
Fix lint issue in reflect.go
|
2021-04-20 12:20:36 -07:00 |
Alex Flint
|
473453d8c8
|
fix lint issue
|
2021-04-20 12:14:14 -07:00 |
Alex Flint
|
a84487a43a
|
updated the example for mappings with commas
|
2021-04-19 21:35:09 -07:00 |
Alex Flint
|
a0937d1b58
|
Merge pull request #150 from alexflint/push-coverage-up-more
Push test coverage up to 100%
|
2021-04-19 21:27:53 -07:00 |
Alex Flint
|
01a9fab8d7
|
clean up environment variable tests
|
2021-04-19 21:22:12 -07:00 |
Alex Flint
|
fe4a138ac8
|
test coverage 100% !!
|
2021-04-19 21:03:43 -07:00 |
Alex Flint
|
6a01a15f75
|
Merge pull request #149 from alexflint/parse-into-map
Add support for parsing into a map
|
2021-04-19 19:27:31 -07:00 |
Alex Flint
|
d4b9b2a008
|
push coverage up even more
|
2021-04-19 19:23:08 -07:00 |
Alex Flint
|
a80336128c
|
more test coverage
|
2021-04-19 14:50:05 -07:00 |
Alex Flint
|
57f610284f
|
add an runnable example for mappings
|
2021-04-19 14:01:29 -07:00 |
Alex Flint
|
91214e01ea
|
add an example of parsing into a map to the readme
|
2021-04-19 13:59:00 -07:00 |
Alex Flint
|
0100c0a411
|
push code coverage up
|
2021-04-19 13:48:07 -07:00 |
Alex Flint
|
bb4e7fd4b0
|
add unittests for maps as environment variables with the separate flag
|
2021-04-19 13:33:31 -07:00 |
Alex Flint
|
ccf882dca7
|
finish adding comments to spec
|
2021-04-19 13:25:11 -07:00 |
Alex Flint
|
9949860eb3
|
change "kind" to "cardinality", add support for maps to parser
|
2021-04-19 13:21:04 -07:00 |
Alex Flint
|
23b96d7aac
|
refactor canParse into kindOf
|
2021-04-19 12:49:49 -07:00 |
Alex Flint
|
1dfefdc43e
|
factor setSlice into its own file, add setMap, and add tests for both
|
2021-04-19 12:10:53 -07:00 |
Alex Flint
|
f4eb7f3a58
|
Merge pull request #137 from alexflint/optional-long
Optional long names
|
2021-04-16 21:03:14 -07:00 |
Alex Flint
|
113aef7114
|
Merge pull request #147 from alexflint/ci-go16
Add go 1.16 to CI
|
2021-04-16 21:01:28 -07:00 |
Alex Flint
|
cec6b0d378
|
add go 1.6 to CI
|
2021-04-16 20:45:13 -07:00 |
Alex Flint
|
172800ff9a
|
fix a comment
|
2021-04-16 20:44:18 -07:00 |
Alex Flint
|
cf2205c84d
|
Merge pull request #144 from leozhantw/refactor/remove-unused-function
refactor: remove unused function
|
2021-04-07 11:32:48 -07:00 |
LeoZhan
|
4f2ab5c009
|
refactor: remove unused function
|
2021-04-08 00:20:56 +08:00 |
Alex Flint
|
ec285c8ec4
|
Merge remote-tracking branch 'origin/master' into optional-long
|
2021-01-31 19:43:30 -08:00 |
Alex Flint
|
bd6844a20d
|
Merge pull request #138 from alexflint/ci-go15
Add go1.15 to CI
|
2021-01-31 19:43:20 -08:00 |
Alex Flint
|
efe5cdf4da
|
replace "name" and "typ" by storing the original StructField
|
2021-01-31 19:40:38 -08:00 |
Alex Flint
|
b099bc916b
|
fix typo
|
2021-01-31 19:27:06 -08:00 |
Alex Flint
|
bfa189218e
|
add go1.15 to CI, drop go1.11
|
2021-01-31 19:25:17 -08:00 |
Alex Flint
|
2a91531140
|
Merge remote-tracking branch 'origin/master' into optional-long
|
2021-01-31 19:20:28 -08:00 |
Alex Flint
|
788c166025
|
test that short-only options are printed first in the help message
|
2021-01-31 19:15:49 -08:00 |
Alex Flint
|
2a23168641
|
Merge pull request #136 from alexflint/ignore-unexported
Skip unexported fields
|
2021-01-31 18:46:05 -08:00 |
Alex Flint
|
aa6cb95149
|
skip unexported fields
|
2021-01-31 18:29:22 -08:00 |
Andrew Morozko
|
438a91dba1
|
Skip right column if the left is empty
|
2020-12-20 03:51:33 +03:00 |
Andrew Morozko
|
04c3fdbd80
|
Updated readme
|
2020-12-20 03:07:18 +03:00 |
Andrew Morozko
|
faebd3e0f2
|
Optional long arguments
|
2020-12-20 02:54:03 +03:00 |
Alex Flint
|
b91c03d2c6
|
Merge pull request #123 from alexflint/drop-vendor
Drop vendor directory
|
2020-09-27 09:28:24 -07:00 |
Alex Flint
|
7b1d8470a9
|
drop vendor directory
|
2020-08-12 15:49:47 -07:00 |
Alex Flint
|
96c756c382
|
Merge pull request #122 from alexflint/short-and-long
Add examples showing how to override the short and long versions of option
|
2020-08-06 16:52:47 -07:00 |
Alex Flint
|
c47edd0324
|
add documentation and examples showing how to override the short and long option names together
|
2020-08-06 16:41:45 -07:00 |
Alex Flint
|
a68c3d0653
|
Merge pull request #120 from alexflint/dedent-tag-loop
Move empty tag check inside loop
|
2020-07-06 09:59:15 -07:00 |
Alex Flint
|
6be0398e80
|
move empty tag check inside the loop
|
2020-07-06 09:54:23 -07:00 |
Alex Flint
|
2a3b5ea3cb
|
Merge pull request #116 from denysvitali/master
feat(usage): Include env variable in usage
|
2020-06-03 11:07:27 -04:00 |
Denys Vitali
|
d4bb56e096
|
feat(usage): Include env variable in usage
|
2020-06-03 10:05:20 +02:00 |
Alex Flint
|
912ef0c3e4
|
Merge pull request #114 from alexflint/migrate-to-codecov
Upload coverage to codecov
|
2020-04-17 16:41:42 -04:00 |