aboutsummaryrefslogtreecommitdiff
path: root/examples/example-setup/Cargo.toml
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-07-15 03:52:25 +0800
committer魏曹先生 <1992414357@qq.com>2026-07-15 03:52:25 +0800
commit559ff1a4d5d164c2fdbc29a9957e3db38651705f (patch)
tree956ce3a9974a6ebbdaa41d9332a18834b61d306c /examples/example-setup/Cargo.toml
parent963c0937abbb985021ccb6319b8734f143c7603f (diff)
refactor(pickable): redesign Pickable trait with two-phase parse API
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`.
Diffstat (limited to 'examples/example-setup/Cargo.toml')
0 files changed, 0 insertions, 0 deletions