aboutsummaryrefslogtreecommitdiff
path: root/mingling_picker/src/builtin/pick_string.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(pickable): introduce SinglePickable trait魏曹先生25 min.1-15/+7
| | | | | Extract a simplified trait for types that consume exactly one argument, with a blanket implementation of the existing Pickable trait
* refactor(pickable): extract seek_single helper from pick_string魏曹先生30 min.1-12/+4
|
* refactor(picker): extract single-value tag logic into SingleMatcher魏曹先生36 min.1-26/+3
|
* feat(pick_string): filter flags without values in match_all path魏曹先生66 min.1-12/+16
| | | | | Return empty results when a single token is a flag with no inline value separator, preventing false positive pick matches
* feat(parselib): introduce PositionalMatcher for positional-only args魏曹先生76 min.1-2/+2
| | | | | | | Extract positional argument matching from ArgMatcher into a dedicated matcher that respects the `--` terminator and skips flag-like tokens before it. Add test suite covering basic, after-`--`, and Windows-style behaviour.
* refactor(arg): simplify escape handling in char extraction魏曹先生4 hours1-2/+0
| | | | | | Remove redundant comment lines from pick_string and replace explicit escape mappings in arg macro with a catch-all that handles both literal and control characters
* feat(picker): add string value support with inline value matching魏曹先生4 hours1-0/+48
Implement `Pickable` for `String` supporting both positional and named flags, and generalize value matching to use style-specific separators