| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
- Move PickerArg-to-PickerArgInfo conversion into an `into_info` method
- Add `short_flag()` and `long_flag()` methods to PickerArgInfo
|
| |
|
|
|
|
|
|
|
|
| |
Remove the `Default` bound from `pick()` and `EntryPicker::pick()`,
allowing non-Default types to be used as arguments.
Add `IntoPicker::pick_or`, `pick_or_default`, and `pick_or_route`
convenience methods for common fallback patterns.
Fix token splitting in `arg!` macro to correctly handle angle brackets.
|
| |
|
|
|
| |
Move the REMAINS constant definition into arg_picker and re-export it
through mingling's constants module for unified access
|
| |
|
|
|
|
|
|
| |
BREAKING CHANGE: Remove `mingling_support` feature from arg-picker
crate. The
`EntryPicker` trait and `corebind` module are now part of the mingling
crate
directly, and `build_pattern1` is now a public method.
|
| | |
|
| |
|
|
|
|
|
| |
Implement `From<PickerArgs>` for `Vec<String>` and
`From<&PickerArgs>` for `Vec<&str>`, enabling seamless
conversion from the picker arguments enum to owned or
borrowed string vectors.
|
| |
|
|
|
|
|
|
| |
Add `Begin`, `Preprocess`, `Final`, and `Postprocess` variants to
`PickerArgAttr` enum, and implement `Pickable` for `PickerArgs` as a
built-in picker that consumes all remaining unclaimed arguments at
lowest priority. Expose `is_masked` and `build_masked_args` as public
functions for use by custom pickers.
|
| | |
|
| |
|