Sam Jaffe
|
11479d1552
chore: do a little re-arrangement
|
2 年之前 |
Sam Jaffe
|
80bb078a62
feat: allow binding default value to rest
|
2 年之前 |
Sam Jaffe
|
c3c88f3284
feat: allow fallback action to be self for e.g. plugin dispatch
|
2 年之前 |
Sam Jaffe
|
d70f81bf50
refactor: compact template names a bit
|
2 年之前 |
Sam Jaffe
|
edcfdacb48
feat: add support for recursively defined actions being dispatched to typed_main()
|
2 年之前 |
Sam Jaffe
|
1e017de306
feat: enable recursive actions using boost
|
2 年之前 |
Sam Jaffe
|
bd4d14a565
refactor: allow filling out Action elements of main args, instead of using them as stubs
|
2 年之前 |
Sam Jaffe
|
c63c9c7adf
refactor: inject parent context into Action
|
2 年之前 |
Sam Jaffe
|
0e3ad59a3d
refactor: move WithDefault::operator T to impl file
|
2 年之前 |
Sam Jaffe
|
c6f998e176
refactor: use Impl directly in Action callback gen
|
2 年之前 |
Sam Jaffe
|
3a5f782dc8
bugfix: don't allow mixing of rest() and action()
|
3 年之前 |
Sam Jaffe
|
55b229841c
feat: add initializer_list based construction for default arguments
|
3 年之前 |
Sam Jaffe
|
399c4424d4
feat: pass through rest() to an argument handler.
|
3 年之前 |
Sam Jaffe
|
abb2f7b961
feat: specify options/flags that are only one letter.
|
3 年之前 |
Sam Jaffe
|
fe2d3903e7
feat: add binding for deferred default values
|
3 年之前 |
Sam Jaffe
|
10594bc883
feat: add support for actions, allowing the construction of hierarchical design in argparsing
|
3 年之前 |
Sam Jaffe
|
06275fe60a
Add test coverage
|
4 年之前 |
Sam Jaffe
|
d613e83598
Print out simple default values.
|
4 年之前 |
Sam Jaffe
|
d26633dd30
Add a readme and a way to get argument overflow.
|
4 年之前 |
Sam Jaffe
|
8205ddb5e0
Fix bug in flag checking for --no-*.
|
4 年之前 |
Sam Jaffe
|
4053ba057c
Fix two bugs in arguments.
|
4 年之前 |
Sam Jaffe
|
f36d481b18
Perform some cleanup, add some test skeletons.
|
4 年之前 |
Sam Jaffe
|
cd1585bec0
Fix bug in options parsing
|
4 年之前 |
Sam Jaffe
|
e63446ba69
Add support for -v2.
|
4 年之前 |
Sam Jaffe
|
1986a4ec67
Add support for abbreviated arguments with repeating, e.g. -vk for verbose dry run.
|
4 年之前 |
Sam Jaffe
|
6d24e4c2be
Use helper functions for flags and options
|
4 年之前 |
Sam Jaffe
|
9dacec8c4f
DRY
|
4 年之前 |
Sam Jaffe
|
071849333a
Add support for flags.
|
4 年之前 |
Sam Jaffe
|
8c61ba484c
Fix arguments with default values
|
4 年之前 |
Sam Jaffe
|
59687a5c90
Support throwing an error if a bad argument is provided.
|
4 年之前 |