Pranav Srinivas Kumar
|
34c9ec8a97
|
Support for std::list in ArgumentParser
|
2019-03-31 14:48:58 -04:00 |
|
Pranav Srinivas Kumar
|
855aced999
|
Overloaded operator[] to get argument pointer from parser
|
2019-03-31 14:03:14 -04:00 |
|
Pranav Srinivas Kumar
|
a9b504665f
|
Added some complex unit tests including toggle arguments, compound arguments and positional arguments
|
2019-03-31 11:03:25 -04:00 |
|
Pranav Srinivas Kumar
|
07cad7ac9e
|
Added support for compound arguments, e.g., ./main -aux foo bar
|
2019-03-31 10:27:33 -04:00 |
|
Pranav Srinivas Kumar
|
41009046f2
|
Added support for parsing optional arguments _while_ parsing some other variable length positional argument
|
2019-03-30 21:50:35 -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
|
d7d1880fe6
|
Added comment TODO for positional argument parsing
|
2019-03-30 20:06:03 -04:00 |
|
Pranav Srinivas Kumar
|
8e393bdda9
|
Fixed semantics issue b/w optional and positional. Saving positional arguments as a vector in ArgumentParser
|
2019-03-30 20:00:23 -04:00 |
|
Pranav Srinivas Kumar
|
ccb268d2d1
|
Checking if argument is positional and saving this as a property in Argument object
|
2019-03-30 19:57:47 -04:00 |
|
Pranav Srinivas Kumar
|
2e1683d7cb
|
Default value is now just an std::any instead of a lambda function
|
2019-03-30 19:42: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
|
3a07b7e141
|
Removed old parse_args. Added default function for Argument.mAction
|
2019-03-30 11:27:26 -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
|
bacc8dc39b
|
Added member to store raw value in Argument
|
2019-03-30 11:16:28 -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 |
|
Pranav Srinivas Kumar
|
11e2b43086
|
Added header file; no contents yet
|
2019-03-29 18:42:40 -04:00 |
|