| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
| |
Implement `mling uninstall` to remove installed packages by name or
name@version, with shell completion support. Rework install to build
release binaries, copy them plus completion scripts to a per-version
directory under the user data dir.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Move the global help and completion handlers from the CLI binary
into the library crate so they can be reused by other entry points.
|
| |
|
|
|
| |
Move the CLI binary from `src/main.rs` to `src/bin/cli.rs`
and move shared program generation into a new lib.rs module.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Extract lint registry loading from cmd_explain into a shared
program-level resource initialized via setup.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
Add a new `explain <LINT>` command that queries the embedded lint
registry (generated by `build.rs`) and displays detailed information
about a specifoic lint, including its name, title, summary, active-on
target, default setting, and author.
Enable the `structural_renderer` feature and add `serde`/`serde_json`
dependencies to support JSON output rendering for command results.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Add help text for global flags, commands, and subcommands in
help.txt. Add metadata descriptions for linter and metadata
commands.
|
| | |
|
| |
|
|
|
|
| |
Enable the dispatch_tree and comp features to generate
completion scripts during build and register global help
and completion support in the main entry point.
|
| | |
|
| |
|
|
|
| |
Correct off-by-one word index computation and conditionally pass
option values only when non-empty to avoid spurious parsing.
|
| |
|
|
|
| |
If compdef is not available, fall back to compctl
directly without invoking an undefined command.
|
| | |
|
| |
|
|
|
|
|
|
| |
Remove the BasicStructPattern from pathf's pattern analyzer to eliminate
noise from plain structs not associated with any Mingling macro.
Also clean up the now-unused `basic_struct` module and update the
integration test to assert plain structs are no longer collected.
|
| | |
|
| |
|
|
|
| |
Fix the method to use `eprintln!` instead of `println!` when
`immediate_output` is enabled, ensuring error output goes to stderr.
|
| | |
|
| | |
|
| |
|
|
|
| |
Update changelog and issue tracker notes for the enhanced
`default_completion` behavior.
|
| | |
|
| |
|
|
|
|
|
| |
When a concrete entry's custom completion handler produces a `Suggest`
value, combine it with the default subcommand suggestions instead of
replacing them entirely. `FileCompletion` still falls back to the
default completion since it cannot be meaningfully merged.
|
| |
|
|
|
|
|
|
| |
Refactor `build_dispatch_body` to take a caller-provided `no_match`
fallback token stream instead of hardcoding `build_entry_fallback`
calls. Thread the fallback through recursive calls so child paths are
preferred over exact endpoints at the same depth, matching the dynamic
dispatcher's longest-prefix-wins behavior.
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Add `Metadata<B>` trait and `#[metadata(Entry)]` attribute macro
to attach arbitrary, compile-time-typed metadata to entries.
Implement `ProgramCollect::get_metadata<T>()` for runtime retrieval,
backed by a global registry populated by `register_metadata!`.
Extend `pathf` with `MetadataPattern` to resolve metadata types
across modules at build time. Add two examples demonstrating
metadata usage with and without pathf integration.
|
| | |
|
| |
|
|
| |
script executable
|
| | |
|
| |
|
|
|
| |
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
|