Commit Graph

73 Commits (389762e2aefb2f0843e51a9d48189c8cad6c850c)

Author SHA1 Message Date
Brett 389762e2ae positionals are broken because im silly 2025-02-20 00:47:27 -05:00
Brett 188e9dba88 postionals may work now? 2025-02-19 20:52:55 -05:00
Brett c23759ac6d fix a lot of bugs, current testing works 2025-02-19 13:28:58 -05:00
Brett 56611d5aef begin testing, flag work. something is really broken though 2025-02-19 02:26:31 -05:00
Brett e0d36269bf i made some changes 2025-02-18 01:32:26 -05:00
Brett 96e5343d02 more work on argparse 2025-02-18 00:46:30 -05:00
Brett 7dc19efbaa more metaprogramming fun 2025-02-17 21:43:09 -05:00
Brett 735371b7bd silly works now i need to bed" 2025-02-17 02:20:40 -05:00
Brett a78ad58479 gotta think of a way of handling the whole "templates are silly" thing 2025-02-17 01:47:42 -05:00
Brett 6e5caf3ac5 good work on argparse 2025-02-16 23:22:00 -05:00
Brett d7373ac832 more argparse work 2025-02-13 17:47:27 -05:00
Brett 31b28c7787 usages in subparsers 2025-02-13 14:04:39 -05:00
Brett 89d95dfec4 working on subparsers 2025-02-13 13:59:59 -05:00
Brett 44a57e5ec2 i am tired 2025-02-13 01:53:21 -05:00
Brett 174b46ae94 path_helper file provides base_name of a path. Argparse working on 2025-02-12 22:17:04 -05:00
Brett 457dd5203b hi 2025-02-12 19:42:50 -05:00
Brett a437935ab0 Argparse v2 breaking change 2025-02-12 15:43:54 -05:00
Brett 3726f6840f starting arge parse 2025-02-12 02:54:22 -05:00
Brett f228cfbbe3 move template functions into cpp file 2024-05-11 17:44:37 -04:00
Brett 7cd736cf6c templating works for what i need
might be bugs in it still
2024-05-11 13:39:07 -04:00
Brett c3cd00cf04 broekn 2024-05-10 21:36:38 -04:00
Brett 83329f6736 freezing hands 2024-05-10 19:01:23 -04:00
Brett ce7c1357e0 working on templating 2024-05-10 12:56:48 -04:00
Brett 4ef3fe7573 template broken 2024-05-10 01:53:50 -04:00
Brett da82a40699 silly 2024-05-09 21:53:49 -04:00
Brett fa979a2fd4 silly 2024-05-09 21:53:08 -04:00
Brett b857bc96ef template engine 2024-05-09 13:51:25 -04:00
Brett 822d926651 argparse bug fix 2024-03-31 01:42:38 -04:00
Brett 31bc3f3bf7 add doubles, floats and longs to argparse 2024-03-30 17:23:23 -04:00
Brett 9b4d0cc9a8 push version 0.12.0. Breaking changes to the hashmap typename, Now blt::hashmap_t and blt::hashset_t
This was done to be more consistent
2024-02-25 14:39:56 -05:00
Brett 6ec0b1f886 changes? 2024-02-14 16:19:48 -05:00
Brett ea31d8f26c add resize to scoped buffer to allow better usage in the GP assignment 2024-02-14 15:21:59 -05:00
Brett 3473247e6c what changed? 2024-02-13 23:49:18 -05:00
Brett 4f871806ab make arg_results public 2024-02-08 09:52:02 -05:00
Brett 82821c0095 add to_string values to argparse (make it cleaner 2024-02-08 08:49:19 -05:00
Brett 83729b83d0 ugh TODO: measure gcc version 2024-02-04 14:38:52 -05:00
Brett 2f400a6240 c++20 fixes 2024-02-04 14:24:25 -05:00
Brett a4f0b1e3d4 obj laoder 2024-01-11 15:51:00 -05:00
Brett 60ec2051d8 nyahh 2024-01-11 11:16:46 -05:00
Brett e81cddf6ba fix posargs 2023-11-08 21:31:53 -05:00
Brett 97dd77d9c9 i hate you (fixed arg_parse ambig 2023-11-08 21:22:54 -05:00
Brett 15bcd37834 make argparse work on c++ 17 2023-11-02 16:02:40 -04:00
Brett fbd067e69e add ability for std::string in args.get<T> 2023-10-09 21:50:41 -04:00
Brett 4486edee60 add .get for argparse (does a get_cast), add rdtsc for profilers 2023-10-03 00:43:08 -04:00
Brett 0b907867a2 argparse get_cast update to work with all is_arithmetic types 2023-09-17 15:22:37 -04:00
Brett 7a07f4a729 rename internal fields away from help to subcommand 2023-09-16 17:50:37 -04:00
Brett 02a1dc1a8c rename help disabler to SUBCOMMAND action type 2023-09-16 17:40:35 -04:00
Brett 9db6dd8456 fix bug with postional args preventing the warning of missing args
add option to print full filename
fix issue with some help printing full filename
2023-09-16 17:22:15 -04:00
Brett 1e293c7dba argparse update
a "janky" solution has been added to the argparse module of BLT.
The new update allows for the creation of "help disablers" which are basically akin to how git operates with
git submodule
git commit
etc
the primary command "git" can have flags (in the case of the tests, --no-color)
while having multiple help disabling sub commands (currently graphics and blt)
everything before the sub command arg will be processed as a primary command flag
everything after the sub command arg will be processed by the sub command arg_parse
this allows for effective namespacing of command modules

TODO:
- Make this as an action?
- cleanup the code
- use a name that makes more sense than "help disabler"
2023-09-16 16:27:48 -04:00
Brett 04cef480bd argparse 2023-09-13 17:29:50 -04:00