aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/parser
Commit message (Collapse)AuthorAgeFilesLines
* Add repr(u8) to bool and NextProcess enumsWeicao-CatilGrass2026-05-171-0/+2
|
* Inline `strip_all_flags` and simplify `ShellContext` methods魏曹先生2026-05-152-6/+2
| | | | | | | | Simplify `strip_all_flags` by using `Vec::retain` instead of reallocating. Update doc examples to use `ShellContext` methods directly instead of the now-removed `ShellContextHelper`. Rename `as_picker` to `to_picker` for consistency with Rust conventions. Mark doc tests as `ignore` and add necessary imports.
* Add comprehensive test suite for picker parser moduleWeicao-CatilGrass2026-05-092-1/+738
|
* Add `AsPicker` trait for types convertible to `Vec<String>`魏曹先生2026-04-301-0/+66
|
* Fix bool parsing ignoring explicit `--value true` flag魏曹先生2026-04-281-11/+6
|
* Simplify Picker API by removing generic parameter and route types魏曹先生2026-04-281-107/+366
|
* Remove PickableEnum comment blockWeicao-CatilGrass2026-04-271-4/+0
|
* Refactor picker to return single values instead of single-element tuples魏曹先生2026-04-251-46/+134
|
* Make `pick_or` accept `Into<TNext>` for default value魏曹先生2026-04-201-4/+4
|
* Add after_or_route method to picker builder魏曹先生2026-04-151-2/+28
|
* Add `strip_all_flags` method and `operate_args` methodWeicao-CatilGrass2026-04-142-0/+33
|
* Add Pickable implementation for enums with EnumTag trait魏曹先生2026-04-131-1/+15
|
* Rename boolean enums and simplify pick_bool function魏曹先生2026-04-111-44/+33
|
* Add YesOrNo and TrueOrFalse pickable boolean types魏曹先生2026-04-072-0/+143
|
* Replace length checks with `is_empty` and `?` operator魏曹先生2026-04-062-12/+8
|
* Add `after` method to picker structs for post-processing魏曹先生2026-04-041-13/+26
|
* Add error routing to Picker with generic route type魏曹先生2026-04-041-14/+178
|
* Handle empty flag in special_arguments macro魏曹先生2026-04-041-2/+7
|
* Add vector pickers魏曹先生2026-04-042-11/+100
|
* Add documentation for public items in lib and parser modules魏曹先生2026-04-012-0/+23
|
* Add Argument type to picker builtins and expose Picker魏曹先生2026-03-313-2/+22
| | | | | | | - Add `#[derive(Debug, Default)]` to `Argument` struct - Add `dump_remains` method to `Argument` - Remove `#[doc(hidden)]` from `Picker` struct - Implement `Pickable` for `Argument` to allow consuming remaining args
* Add argument parser module with picker API魏曹先生2026-03-303-0/+264