| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Add `add_suggest()` and `add_suggest_with_description()` methods to
`Suggest` for ergonomic batch population of suggestion sets from
collections of strings.
Update the `suggest!` macro to use these new methods and accept
expressions beyond string literals for suggestion items.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
methods
Deprecate `ShellContext` methods `filling_argument_first`,
`filling_argument`, `typing_argument`, `strip_typed_argument`, and
`get_typed_arguments` when the `picker` feature is active, as they
do not work under all `ParserStyle` settings.
Add `#![allow(deprecated)]` to the affected modules to suppress
warnings from internal usage.
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Extract duplicate `MockCollect` implementations into a reusable
`MockProgramCollect` type. Conditionally require `Serialize` on the
`Groupped` trait when the `general_renderer` feature is enabled.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|