| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Replace AnyOutput-based dispatch with RendererInvoker in
render_lint_reports_json to improve type safety and clarity.
|
| | |
|
| |
|
|
| |
Fix command tree matching when global flags precede the subcommand.
|
| |
|
|
|
|
|
|
| |
Rework bash completion script to fix word-index tracking when the
cursor is in the middle of a word, compute the current word from
COMP_LINE truncated at COMP_POINT, and use space-separated option
arguments. Also trim colon prefixes from completion items when
COMP_WORDBREAKS includes colons.
|
| |
|
|
|
|
|
| |
Fix zsh completion script to escape colons in completion items
and descriptions, preventing parsing issues with `_describe`.
Also iterate over the original completions array for simple
completions to correctly extract completion items.
|
| | |
|
| | |
|
| |
|
|
| |
trait
|
| |
|
|
|
|
| |
Add `#[completion(EntryFallback)]` syntax to enable custom
completion suggestions for unmatched entries, merging fallback
results with default completions via `Suggest::combine()`.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Rename the internal fallback type and its associated `ProgramCollect`
plumbing from `ErrorDispatcherNotFound`/`build_dispatcher_not_found` to
`EntryFallback`/`build_entry_fallback`, along with the generated enum
variant and pack type. Update all documentation, examples, and tests
accordingly.
|
| |
|
|
|
|
| |
`arg-picker` is excluded from the workspace test command and tested
on its own due to conflicting `mingling_support` feature doctests.
Also remove unused `mling/res` ignore directories.
|
| | |
|
| |
|
|
|
|
| |
Previously, an absent -F and a present -F without a value both
mapped to "unknown". Now, a -F with no value maps to an empty
shell flag, while a missing -F remains "unknown".
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Use `--workspace` for build, clippy, and test tasks to cover
feature-gated code instead of relying on default features. Skip
workspace members in individual crate tasks to avoid redundant runs.
|
| | |
|
| | |
|
| |
|
|
|
| |
Document build-time features, feature pairing, and add a `build.rs`
template for easily setting up `comp` and `pathf`.
|
| | |
|
| |
|
|
|
|
| |
Add the Arborium JS library header to the documentation build via
RUSTDOCFLAGS and docs.rs metadata so generated docs include the
interactive Arborium components.
|
| |
|
|
|
| |
Add module-level docs for the build module via include_str and
restrict public re-exports to explicit items instead of glob imports.
|
| |
|
|
|
|
|
| |
Add convenience presets (`mini`, `advanced`, `full`, `build_advanced`,
`build_full`) to `mingling/Cargo.toml` and document them in both
English and Chinese feature docs. Update getting-started guides to
reflect the new default `core`/`macros` features.
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Add `Entry` struct with `pub(crate)` visibility for
`inner` fields, plus `new()` and `this()` constructors
on `ThisProgram` for docs.rs demonstration of the
`gen_program!` macro expansion.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Use the `special_argument!` macro to simplify extracting
shell context values from command-line arguments.
|
| | |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Update all references across docs, examples, and configuration files to
use the shorter `extras` feature name.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Add a `From<pack_Type> for crate::Entry` implementation in
`dispatcher!()` macro and a default `Entry` pack type in
`gen_program!()` for ergonomic program entry handling
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Previously, #[command] required at least one owned parameter for
args injection. Now, if the first parameter is a reference or
there are no parameters, a synthetic entry parameter is inserted
so the function can still be used with #[chain].
|
| |
|
|
|
|
| |
Move pathf type resolution from `program_final_gen` to `gen_program` and
isolate generated code inside `__this_program_impl` to prevent namespace
pollution
|
| |
|
|
| |
program_final_gen
|