Sam Jaffe
|
11479d1552
chore: do a little re-arrangement
|
2 年之前 |
Sam Jaffe
|
d0c04ad449
docs: update macros and README
|
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
|
a93408e7f9
refactor: rename tag struct for clarity
|
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
|
39c21e8885
refactor: show usage instead of throwing on missing action
|
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
|
d26633dd30
Add a readme and a way to get argument overflow.
|
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
|
3076dc63ae
More re-ordering.
|
4 年之前 |
Sam Jaffe
|
5eac206e3d
Make it impossible to manually construct an argument/option or to call the functions external to subclasses.
|
4 年之前 |
Sam Jaffe
|
625137af31
Do some re-arranging.
|
4 年之前 |
Sam Jaffe
|
477c358ef7
Rename all things positional -> argument.
|
4 年之前 |
Sam Jaffe
|
8839aa262d
Clang-Format.
|
4 年之前 |
Sam Jaffe
|
7602a81184
Add custom exceptions with a special handler for them in TYPED_MAIN.
|
4 年之前 |
Sam Jaffe
|
65a9106db3
Initialize program args from scratch code.
|
4 年之前 |