aboutsummaryrefslogtreecommitdiff
path: root/mingling/src/parser/args.rs
Commit message (Collapse)AuthorAgeFilesLines
* Enhance code quality across the entire codebaseWeicao-CatilGrass2 days1-19/+21
|
* Inline `strip_all_flags` and simplify `ShellContext` methods魏曹先生2026-05-151-5/+1
| | | | | | | | 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-091-1/+9
|
* Add `strip_all_flags` method and `operate_args` methodWeicao-CatilGrass2026-04-141-0/+13
|
* Replace length checks with `is_empty` and `?` operator魏曹先生2026-04-061-6/+6
|
* Handle empty flag in special_arguments macro魏曹先生2026-04-041-2/+7
|
* Add vector pickers魏曹先生2026-04-041-11/+58
|
* Add documentation for public items in lib and parser modules魏曹先生2026-04-011-0/+1
|
* Add Argument type to picker builtins and expose Picker魏曹先生2026-03-311-0/+9
| | | | | | | - 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-301-0/+95