Commit Graph

669 Commits

Author SHA1 Message Date
Pranav Srinivas Kumar
c70e6e52b5 Removed old files 2019-04-01 22:01:59 -04:00
Pranav Srinivas Kumar
bb4a2dbba7 Renamed directories 2019-04-01 22:01:40 -04:00
Pranav Srinivas Kumar
11729b4dfe
Update README.md 2019-04-01 21:53:04 -04:00
Pranav Srinivas Kumar
5bf9b958f6 Merge branch 'master' of https://github.com/p-ranav/argparse 2019-04-01 21:44:18 -04:00
Pranav Srinivas Kumar
2143c7140b Minor update to positional argument test 2019-04-01 21:44:15 -04:00
Pranav Srinivas Kumar
2bc003018d
Update README.md 2019-04-01 21:43:55 -04:00
Pranav Srinivas Kumar
63a6763489 Fixed minor bug with validating optional arguments. Added mIsUsed to Argument class 2019-04-01 21:32:12 -04:00
Pranav Srinivas Kumar
03bf4f294d Added more comments. Updated parse_args_validate to complain when optional arguments are provided but not completely 2019-04-01 21:24:26 -04:00
Pranav Srinivas Kumar
8fd51f982d Argument is now a class. Also it's friends with ArgumentParser. Moved a number of methods to private 2019-04-01 21:04:50 -04:00
Pranav Srinivas Kumar
20a67c21a9 Removed debug print 2019-04-01 20:59:22 -04:00
Pranav Srinivas Kumar
cc009e347b Added license header 2019-04-01 20:58:59 -04:00
Pranav Srinivas Kumar
63309d3e2a
Update README.md 2019-04-01 20:53:04 -04:00
Pranav Srinivas Kumar
b11d357d9a
Update README.md 2019-04-01 20:52:36 -04:00
Pranav Srinivas Kumar
7abad0986d
Update README.md 2019-04-01 20:46:39 -04:00
Pranav Srinivas Kumar
91d0dd8c90
Update README.md 2019-04-01 20:45:49 -04:00
Pranav Srinivas Kumar
8452b1cfb3 Merge branch 'master' of https://github.com/p-ranav/argparse 2019-04-01 20:41:24 -04:00
Pranav Srinivas Kumar
9037b08454 Added support for parent parsers. Some basic unit tests 2019-04-01 20:41:14 -04:00
Pranav Srinivas Kumar
a0a2e76d22
Update README.md 2019-04-01 20:09:19 -04:00
Pranav Srinivas Kumar
79fb2e8598 Merge branch 'master' of https://github.com/p-ranav/argparse 2019-04-01 20:06:59 -04:00
Pranav Srinivas Kumar
e5c3630eba Checking if i < argc on edge case. New tests added 2019-04-01 20:06:54 -04:00
Pranav Srinivas Kumar
c47f842c19
Update README.md 2019-04-01 19:59:57 -04:00
Pranav Srinivas Kumar
347881f5b3
Update README.md 2019-04-01 19:58:41 -04:00
Pranav Srinivas Kumar
1d85a98c42
Update README.md 2019-04-01 19:57:22 -04:00
Pranav Srinivas Kumar
2149ab40b9
Update README.md 2019-04-01 19:56:55 -04:00
Pranav Srinivas Kumar
acd9e02d77
Update README.md 2019-04-01 19:56:25 -04:00
Pranav Srinivas Kumar
082938e2cd
Update README.md 2019-04-01 19:55:23 -04:00
Pranav Srinivas Kumar
3733ce170f
Update README.md 2019-04-01 19:54:48 -04:00
Pranav Srinivas Kumar
d09fb9af99
Update README.md 2019-04-01 19:54:24 -04:00
Pranav Srinivas Kumar
4953ba7d76
Update README.md 2019-04-01 19:47:02 -04:00
Pranav Srinivas Kumar
c0099269db
Update README.md 2019-04-01 19:46:34 -04:00
Pranav Srinivas Kumar
1bd5d39a99
Update README.md 2019-04-01 19:45:09 -04:00
Pranav Srinivas Kumar
ecddddd519
Update README.md 2019-04-01 12:04:13 -04:00
Pranav Srinivas Kumar
11b3b30286
Update README.md 2019-04-01 10:27:35 -04:00
Pranav Srinivas Kumar
5c143c733e
Create CONTRIBUTING.md 2019-04-01 10:26:06 -04:00
Pranav Srinivas Kumar
8e31190c3d Merge branch 'master' of https://github.com/p-ranav/argparse 2019-03-31 22:06:44 -04:00
Pranav Srinivas Kumar
7df41b6267 Added interesting edge case in compound argument parsing 2019-03-31 22:06:34 -04:00
Pranav Srinivas Kumar
ad4bb635a7
Update README.md 2019-03-31 22:05:29 -04:00
Pranav Srinivas Kumar
030676c2f1
Update README.md 2019-03-31 21:27:52 -04:00
Pranav Srinivas Kumar
70c2fcfdf1 First bit of error checking - Cleaned up parse_args methods - Added parse_args_validate() method that checks if all positional arguments have been provided or not and prints help 2019-03-31 21:25:50 -04:00
Pranav Srinivas Kumar
6a4c92726b Removed get_arguments API from ArgumentParser. Improved print_help 2019-03-31 20:28:22 -04:00
Pranav Srinivas Kumar
96e9bc33b9 First pass implementation of print_help() 2019-03-31 20:00:18 -04:00
Pranav Srinivas Kumar
da1022c946
Update README.md 2019-03-31 18:15:15 -04:00
Pranav Srinivas Kumar
2d7d9e62eb Added empty readme 2019-03-31 18:13:07 -04:00
Pranav Srinivas Kumar
6c598fcac0 Changed unit test to further test parser.get<std::list>() 2019-03-31 18:12:33 -04:00
Pranav Srinivas Kumar
87c42cd3ea
Update README.md 2019-03-31 18:08:37 -04:00
Pranav Srinivas Kumar
d0acbfdfb6
Update README.md 2019-03-31 18:02:47 -04:00
Pranav Srinivas Kumar
c9d0c0098e
Update README.md 2019-03-31 17:55:33 -04:00
Pranav Srinivas Kumar
e7b32d5a34
Update README.md 2019-03-31 17:54:40 -04:00
Pranav Srinivas Kumar
fd884c340c
Update README.md 2019-03-31 17:53:40 -04:00
Pranav Srinivas Kumar
ea5fdb49c8
Update README.md 2019-03-31 17:53:18 -04:00