| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
|
| |
Add `with_route` methods to `IntoPicker` and `PickerPattern` for
setting the route type explicitly when needed, instead of carrying
it as a generic parameter on the trait 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.
|
| |
|
|
|
|
|
| |
Introduce `or_route` and a `PickerResult` type that carries an optional
route value. When a flag is absent, the closure given to `or_route` is
evaluated and stored in `error_route`, allowing the caller to exit early
without a default value.
|
| | |
|
| |
|
|
| |
`PickerResult` struct
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
module
Remove unnecessary Pickable trait bounds on PickerResult and its
From implementations. Introduce a new `parse` module with
macro-generated
parse stubs for up to 32 tuple types.
|
| |
|
|
| |
Vec<String>
|
| | |
|
| |
|
|
| |
PickerFlag
|
| |
|
|
|
| |
Refactor multiple `if let` patterns in macros to use the let-chain
syntax for improved readability
|
|
|
parsing
Implement the foundational `mingling_picker` library along with its
companion
`mingling_picker_macros` crate. The picker provides:
- `Pickable` trait for parsing types from raw strings
- `PickerResult` enum modeling parse outcomes
- `Picker` struct for storing and indexing command-line arguments
- `PickerRequirement` struct for declarative parameter definitions
- `PickerPattern` family (1..32) of typed pattern structs via the
`internal_repeat` proc macro
- `req!` proc macro as a succinct builder for `PickerRequirement`
Re-export `mingling_picker::macros::*` from the `mingling` crate when
the
`picker` feature is enabled, replacing the previous wildcard re-export
of
`mingling_macros`.
|