Commit Graph

13 Commits

Author SHA1 Message Date
Pranav Srinivas Kumar
953f7d9462 Renamed test filename 2019-03-31 15:05:47 -04:00
Pranav Srinivas Kumar
34c9ec8a97 Support for std::list in ArgumentParser 2019-03-31 14:48:58 -04:00
Pranav Srinivas Kumar
463aded164 Cleaned up unit tests. Added test to implement choices inside .action(...) 2019-03-31 13:01:09 -04:00
Pranav Srinivas Kumar
f6f9b0302d Implemented API and tests for programming implicit values in toggle arguments 2019-03-30 21:21:42 -04:00
Pranav Srinivas Kumar
996f7882ca Implemented support for parsing both positional and optional arguments 2019-03-30 21:09:05 -04:00
Pranav Srinivas Kumar
5c7653cb9e More unit tests. Added overloaded parse_args method for testing purposes 2019-03-30 16:45:44 -04:00
Pranav Srinivas Kumar
057b1eaa52 Officially added first unit test with catch 2019-03-30 14:56:30 -04:00
Pranav Srinivas Kumar
717e6aafdb Using enable_if and template specializations to deal with parser.get<vector<T>>(..) 2019-03-30 13:47:59 -04:00
Pranav Srinivas Kumar
16e3f58ce9 Added support for list of arguments per parameter. Added nargs method 2019-03-30 12:58:28 -04:00
Pranav Srinivas Kumar
57778cb3a6 Fixed build 2019-03-30 11:39:36 -04:00
Pranav Srinivas Kumar
bb06497e88 Added std map in argparser to keep a dictionary of arguments by name. Faster checking when calling parse_args 2019-03-30 11:26:46 -04:00
Pranav Srinivas Kumar
a06308f673 First pass implementation of a naive argument parser. API is shaping up 2019-03-30 10:50:51 -04:00
Pranav Srinivas Kumar
424b22aa6a First sketch of the ArgumentParser class 2019-03-30 10:04:35 -04:00