| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Implement `Pickable` for `String` supporting both positional and named
flags, and generalize value matching to use style-specific separators
|
| |
|
|
|
|
| |
Deduplicate the `seek_end_of_options` function by moving it from both
`arg_matcher` and `flag_matcher` into a single shared implementation in
utils. Add `make_masked` and `make_args` test helpers to the test crate
|
| |
|
|
|
|
| |
Implement `on_match_one` and `on_match_all` for `ArgMatcher`,
supporting named flags (with eq-mode and short flags), positional
arguments, end-of-options marker (`--`), and case-insensitive matching
|
| |
|
|
| |
iteration
|
| |
|
|
|
|
|
|
|
| |
Add a new `Flag` enum in `mingling_picker::value` that explicitly
distinguishes between an absent flag (`Inactive`) and a present flag
(`Active`), along with its `Pickable` implementation. Rename internal
fields from `flag_*` to `arg_*` for consistency, update the default
naming case to `Kebab`, and enable the `mingling_support` feature in
workspace settings.
|
| |
|
|
|
|
| |
Rename `bool_matcher` module to `flag_matcher` and introduce a dedicated
`FlagMatcher` struct, moving matching logic away from the `bool` type
itself
|
| | |
|
| |
|
|
| |
Update doc examples to pass `String` instead of `&str` to `convert`
|
| |
|
|
|
|
|
|
| |
Add `Pickable` implementation for `bool` and the supporting `Matcher`
trait
with utility functions for argument matching. Expose `pickable_needed`
and
`matcher_needed` modules for downstream trait implementors.
|
| |
|
|
|
|
|
| |
Rename the `core` feature to `mingling_support` in `mingling_picker` and
propagate it through `mingling_picker_macros`. Add the `is_flag` field
to `PickerTag` to indicate participation in parsing after a `--`
separator. Remove empty `seek.rs` file.
|
| | |
|
| | |
|
| | |
|
|
|
Add a configurable `ParserStyle` struct defining option prefix,
separator
and case-sensitivity conventions, with built-in constants for Unix,
PowerShell and Windows styles. Provide a one-time global style setter.
Re-export the new `parselib` module from `mingling_picker` and wire it
through `mingling`'s `picker` facade. Also relocate `Groupped` and
`RenderResult` re-exports in `prelude` for better ordering.
|