aboutsummaryrefslogtreecommitdiff
path: root/mingling_picker/src/flag.rs
Commit message (Collapse)AuthorAgeFilesLines
* refactor: remove unnecessary `Default` bound from `Pickable` trait魏曹先生21 hours1-6/+6
|
* feat(flag): add PositionalMulti variant and convenience methods魏曹先生24 hours1-4/+75
|
* refactor(pickable): redesign Pickable trait with two-phase parse API魏曹先生33 hours1-18/+36
| | | | | | | | | | | | | | Introduce `get_attr`, `tag`, and `pick` as the new trait methods, replacing the single `tag` method that returned a `PickerTag`. This enables the parser to first collect all argument position requirements and then resolve them in a second pass. Rename `PickerTag` to `PickerArgInfo` and reorder `PickerFlagAttr` variants to reflect parse priority (`Positional < Flag < Single < Multi`). Add `positional_or_else` helper to `PickerFlagAttr`.
* feat(flag): add PickerFlagAttr enum for parameter attributes魏曹先生34 hours1-0/+74
|
* feat: add lifetime-bound pickable support and refine type constraints魏曹先生41 hours1-2/+2
|
* refactor: rename requirement.rs to flag.rs魏曹先生44 hours1-0/+122