Commit Graph

268 Commits

Author SHA1 Message Date
Pranav Srinivas Kumar
48c6365ef5
Update README.md 2019-03-31 17:35:34 -04:00
Pranav Srinivas Kumar
b3c83177e4
Update README.md 2019-03-31 17:33:39 -04:00
Pranav Srinivas Kumar
d5c6f7c8ef
Update README.md 2019-03-31 17:28:10 -04:00
Pranav Srinivas Kumar
0eea21ba94
Update README.md 2019-03-31 17:27:13 -04:00
Pranav Srinivas Kumar
a27fad3864
Update README.md 2019-03-31 17:25:40 -04:00
Pranav Srinivas Kumar
216530e330
Update README.md 2019-03-31 17:21:25 -04:00
Pranav Srinivas Kumar
cb69613899
Update README.md 2019-03-31 17:19:56 -04:00
Pranav Srinivas Kumar
1b9ab8cd13
Update README.md 2019-03-31 17:18:49 -04:00
Pranav Srinivas Kumar
132a73ae8e
Update README.md 2019-03-31 17:12:58 -04:00
Pranav Srinivas Kumar
058ab1d876
Update README.md 2019-03-31 17:04:11 -04:00
Pranav Srinivas Kumar
aeb4244581
Update README.md 2019-03-31 17:03:40 -04:00
Pranav Srinivas Kumar
8d5925f1ad Merge branch 'master' of https://github.com/p-ranav/argparse 2019-03-31 16:59:53 -04:00
Pranav Srinivas Kumar
eb341685bf Added test to square a number 2019-03-31 16:59:45 -04:00
Pranav Srinivas Kumar
921e5ca7f4
Update README.md 2019-03-31 16:58:18 -04:00
Pranav Srinivas Kumar
4dc61b679e
Update README.md 2019-03-31 16:28:49 -04:00
Pranav Srinivas Kumar
02f40c3721 Implemented Argument::operator== and Argument::operator!= with specializations for std::vector and std::list 2019-03-31 16:27:18 -04:00
Pranav Srinivas Kumar
28e084dfd8 Added an example that uses a reference catching in action lambda 2019-03-31 15:15:56 -04:00
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
050309cd7c Merge branch 'master' of https://github.com/p-ranav/argparse 2019-03-31 14:03:24 -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
6425bed8ce
Update README.md 2019-03-31 13:08:17 -04:00
Pranav Srinivas Kumar
2d6fe42141
Update README.md 2019-03-31 13:06:55 -04:00
Pranav Srinivas Kumar
307181159e Merge branch 'master' of https://github.com/p-ranav/argparse 2019-03-31 13:01:21 -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
bf4902bde4
Update README.md 2019-03-31 11:46:21 -04:00
Pranav Srinivas Kumar
0c71e3c6f2
Update README.md 2019-03-31 11:43:24 -04:00
Pranav Srinivas Kumar
9e1c0bbc2f
Update README.md 2019-03-31 11:15:05 -04:00
Pranav Srinivas Kumar
fa6109961b
Update README.md 2019-03-31 11:07:39 -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
b51ff01363
Update README.md 2019-03-31 10:50:04 -04:00
Pranav Srinivas Kumar
d27c0813cc
Update README.md 2019-03-31 10:39:25 -04:00
Pranav Srinivas Kumar
4245c1a850
Update README.md 2019-03-31 10:36:31 -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
a385d78919
Update README.md 2019-03-30 21:23:37 -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
965e4ad43c Merge branch 'master' of https://github.com/p-ranav/argparse 2019-03-30 19:57:52 -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
e188902ad2
Update README.md 2019-03-30 19:49:51 -04:00
Pranav Srinivas Kumar
b1a67c2aad
Update README.md 2019-03-30 19:46:51 -04:00
Pranav Srinivas Kumar
fad02831be
Update README.md 2019-03-30 19:43:02 -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
0ceeeb353f
Update README.md 2019-03-30 18:45:54 -04:00
Pranav Srinivas Kumar
6220a3f341 Added README 2019-03-30 18:29:29 -04:00
Pranav Srinivas Kumar
b730100b29 Unit test to parse and construct a vector of objects of some class 2019-03-30 17:26:25 -04:00
Pranav Srinivas Kumar
055cfbdb7d Unit tests for parsing vector of arguments 2019-03-30 17:11:24 -04:00