Aaron Berns
|
ee2dd885a6
|
remove flag_generated.go from added files
|
2019-09-10 08:53:36 -04:00 |
|
Aaron Berns
|
b837236bd5
|
fix import url in README and add flag_generated.go to list of ingored files
|
2019-09-10 08:50:07 -04:00 |
|
Aaron Berns
|
4d4a5d3b38
|
add tests for custom error messages
|
2019-09-09 17:01:24 -04:00 |
|
Aaron Berns
|
f8eb02c99d
|
add required flag and custom required flag error message example to README
|
2019-08-30 13:02:26 -04:00 |
|
Aaron Berns
|
52a016034a
|
adjust custom-error related interface, struct and methods to reflect change in RequiredFlag interface
|
2019-08-20 15:39:18 -04:00 |
|
Aaron Berns
|
eb1734ba59
|
change RequiredFlagsErr to RequiredFlagErr, update to struct for custom message
|
2019-08-20 14:50:57 -04:00 |
|
Aaron Berns
|
fffdd82c00
|
add ability to combine multiple error strings to Error() function
|
2019-08-20 11:09:53 -04:00 |
|
Aaron Berns
|
ed4ac1876d
|
update requiredFlagsErr interface, errRequiredFlags struct and associated functions to handle map
|
2019-08-20 10:39:55 -04:00 |
|
Aaron Berns
|
addd467e5b
|
update checkRequiredFlags function to check RequiredFlagsErr field and return map of missing flag names with matching bool for RequiredFlagsErr value
|
2019-08-20 10:03:29 -04:00 |
|
Aaron Berns
|
a064d9082c
|
manually add FlagsErrRequired field and function to generated flags
|
2019-08-20 08:56:35 -04:00 |
|
Aaron Berns
|
95f45c1e60
|
add RequiredFlagsErr interface
|
2019-08-19 12:06:19 -04:00 |
|