Henry Fredrick Schreiner
e870e264c3
Info and examples
2017-03-02 12:38:45 -05:00
Henry Fredrick Schreiner
9d697b8511
Fallback support added, better structure
2017-03-02 12:02:44 -05:00
Henry Fredrick Schreiner
7856de43ca
Broken tests only because adding new desired behavior
2017-03-01 16:01:29 -05:00
Henry Fredrick Schreiner
904793eab4
Fixing a few warnings
2017-02-24 18:33:26 -05:00
Henry Fredrick Schreiner
3f4c165ea9
Adding string based method for requires/excludes
2017-02-24 16:59:53 -05:00
Henry Fredrick Schreiner
81f58c130a
Fixing for IDE builds
2017-02-24 13:16:11 -05:00
Henry Fredrick Schreiner
ade78c5842
Adding a number to required_subcommand
2017-02-24 12:54:37 -05:00
Henry Fredrick Schreiner
b59a16ccf2
Adding hidden options
2017-02-21 08:44:09 -05:00
Henry Fredrick Schreiner
e63898df9f
Throw errors for duplicate subcommand names, with ignore case too
2017-02-20 15:31:58 -05:00
Henry Fredrick Schreiner
40431de912
Eliminating all warnings (Windows)
2017-02-20 14:18:04 -05:00
Henry Fredrick Schreiner
e328364ae7
Adding test for extras access
2017-02-20 14:08:12 -05:00
Henry Fredrick Schreiner
cfc389d4e4
Tests, fix extra options after subcommand going to parent
2017-02-20 13:51:33 -05:00
Henry Fredrick Schreiner
4fca03d031
Adding case check for subcommand (simple)
2017-02-20 13:23:05 -05:00
Henry Fredrick Schreiner
983529a379
Adding subcom chaining (untested)
2017-02-20 12:08:21 -05:00
Henry Fredrick Schreiner
fd313fcadd
Adding ability to “leave out” options (optional). Rename RequierdError to ExtrasError
2017-02-20 11:18:51 -05:00
Henry Fredrick Schreiner
537aa3aa5d
Adding testing for required subcommands
2017-02-20 09:29:20 -05:00
Henry Fredrick Schreiner
b2e8bd9bf7
Fixing test check for TEXT
2017-02-20 08:44:21 -05:00
Henry Fredrick Schreiner
2170b60cc7
Windows fixes
2017-02-19 15:19:49 -05:00
Henry Fredrick Schreiner
8725de6706
Fixes to enable windows compat
2017-02-19 15:08:09 -05:00
Henry Fredrick Schreiner
b4b456f594
Adding ini support for spaces filtering and quotes
2017-02-17 21:23:23 -05:00
Henry Fredrick Schreiner
2b40b8cbd3
Removing automatic testing with single file, kept on travis
2017-02-14 12:26:07 -05:00
Henry Fredrick Schreiner
1f510725e5
Remove flags from inifile
2017-02-14 12:21:11 -05:00
Henry Fredrick Schreiner
4e69e9794d
Adding ini print and simple tests
2017-02-13 18:37:17 -05:00
Henry Fredrick Schreiner
15c6ee5f3d
Added Range and ValidationError, Refactor throwing errors to Option instead of App for Validation
2017-02-13 16:28:35 -05:00
Henry Fredrick Schreiner
0c1aa2abc3
Nicer, more compliant syntax in test
2017-02-13 12:41:08 -05:00
Henry Fredrick Schreiner
f071f91258
Adding tests for inis
2017-02-13 12:19:49 -05:00
Henry Fredrick Schreiner
3a9faa51f7
Refactored _parse, only called once now and has ini test
2017-02-13 09:55:02 -05:00
Henry Fredrick Schreiner
1d39e9f092
Adding ofstream method
2017-02-13 09:25:33 -05:00
Henry Fredrick Schreiner
77071fdb95
Adding tempfile helper
2017-02-13 08:59:53 -05:00
Henry Fredrick Schreiner
767ec29f2a
Updates to changelog
2017-02-12 18:09:33 -05:00
Henry Fredrick Schreiner
f4d8fd0305
Added help print and test for requires, envname, and excludes
2017-02-12 18:01:33 -05:00
Henry Fredrick Schreiner
b3ce333e1d
Adding tests for required, adding mandatory synonym
2017-02-12 17:21:36 -05:00
Henry Fredrick Schreiner
b39ed56906
Added tests and a fix for requires, exludes
2017-02-12 16:45:13 -05:00
Henry Fredrick Schreiner
83eb7eb84b
Splitting up tests
2017-02-12 16:18:53 -05:00
Henry Fredrick Schreiner
f4bf6d7226
Adding requires, excludes, and getenv (untested)
2017-02-12 14:04:36 -05:00
Henry Fredrick Schreiner
00acc84b52
Unneeded file removed
2017-02-12 13:57:13 -05:00
Henry Fredrick Schreiner
cf2a212f01
Fix caps on name for unix systems
2017-02-11 10:07:23 -05:00
Henry Fredrick Schreiner
b774c57dc2
Adding help testing, option groups
2017-02-11 09:38:35 -05:00
Henry Fredrick Schreiner
67047b71f8
Adding first draft of ini support for App
2017-02-10 17:21:19 -05:00
Henry Fredrick Schreiner
38f746db3a
using -- notation
2017-02-09 17:20:44 -05:00
Henry Fredrick Schreiner
aac712b754
Adding ini parser, cleanup test CMake
2017-02-09 17:18:24 -05:00
henryiii
2f08c4c7c3
Update CLITest.cpp
2017-02-06 23:23:25 -05:00
henryiii
f6b1bc1357
Update CLITest.cpp for wrong error name
2017-02-06 23:05:50 -05:00
Henry Fredrick Schreiner
494a65f812
Dropping Make syntax, moving to pointers from combiners, structured errors.
...
This mostly is cleanup, with fewer alternative methods and more standard syntax, avoiding the use of the namespace all the time. Validators are simpler and are added through `->check()`.
Defaults are automatic, and can be specified with a final arg to the options.
Expected arguments and required arguments are now accessed through a pointer to option.
Option now can be checked as a bool to see if the argument was passed.
Errors have better organisation.
2017-02-06 20:52:12 -05:00
Henry Fredrick Schreiner
ee5678562f
Adding tools to build with python 3.6 directly
2017-02-06 11:51:06 -05:00
Henry Fredrick Schreiner
a12a94c4c1
Separate files, plus way to combine
2017-02-06 09:54:41 -05:00
Henry Fredrick Schreiner
200d0f277f
Massive move to -a,--long,posit syntax
2017-02-04 10:11:05 -05:00
Henry Fredrick Schreiner
955dd950f0
C++11 compliance on older compilers
2017-02-04 08:45:00 -05:00
Henry Fredrick Schreiner
9dea0cf2e9
Actually support multiple options
2017-02-04 08:29:34 -05:00
Henry Fredrick Schreiner
2fae7e2cdf
Adding bool flag
2017-02-03 21:32:58 -05:00