aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/src
Commit message (Collapse)AuthorAgeFilesLines
* feat: add cargo-style formatting utilities and macros魏曹先生31 hours2-0/+219
|
* style: format code and fix minor lint issues魏曹先生46 hours2-1/+1
|
* fix: correct docs for parse function in utils::display魏曹先生46 hours1-4/+4
|
* feat(pkg-mgr): implement pkg-show command魏曹先生2 days3-0/+219
| | | | | | Add `pkg-show` to display installed packages and their versions, removing its NOT_IMPL marker from help. Include internal commands to load enabled package paths and completion scripts.
* feat: implement pkg-enable and pkg-disable commands魏曹先生2 days4-4/+268
| | | | | Add package enable/disable functionality with version matching for pkg-enable, and fix help text to reflect implemented commands.
* feat(pkg_mgr): add uninstall command and improve install魏曹先生2 days4-5/+364
| | | | | | | 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.
* feat: add exit codes for io error handling魏曹先生2 days1-4/+209
|
* feat(pkg-mgr): add install command placeholder魏曹先生2 days2-0/+10
|
* refactor(cli): move global help and completion to library魏曹先生2 days2-35/+33
| | | | | Move the global help and completion handlers from the CLI binary into the library crate so they can be reused by other entry points.
* chore: move CLI entry to bin and restructure imports魏曹先生2 days2-20/+23
| | | | | Move the CLI binary from `src/main.rs` to `src/bin/cli.rs` and move shared program generation into a new lib.rs module.
* chore(mingling_cli): add colored dependency and utils module魏曹先生2 days3-0/+386
|
* revert: Remove serde and structural renderer support魏曹先生2 days2-15/+8
|
* feat(lint): add shell completion for linter checkers魏曹先生2 days1-6/+26
|
* refactor(linter): rename LintRegistry to ResLintRegistry魏曹先生2 days2-7/+7
|
* feat(linter): refactor lint registry into program resource魏曹先生2 days4-54/+58
| | | | | Extract lint registry loading from cmd_explain into a shared program-level resource initialized via setup.
* refactor(linter): simplify lint explain output formatting魏曹先生2 days1-4/+2
|
* chore: align markdown table formatting魏曹先生2 days1-8/+8
|
* chore: add shell completion for explain command魏曹先生2 days1-3/+20
|
* feat(cli): implement `explain` command and add JSON structural rendering魏曹先生2 days3-2/+133
| | | | | | | | | | 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.
* refactor(linter): move ra lint commands to separate module魏曹先生2 days2-64/+64
|
* refactor(linter): rename cmd_mlint to cmd_lint魏曹先生2 days2-2/+2
|
* feat: add package and project manager modules魏曹先生2 days3-0/+2
|
* docs: add help text for CLI commands and descriptions魏曹先生2 days3-3/+39
| | | | | | Add help text for global flags, commands, and subcommands in help.txt. Add metadata descriptions for linter and metadata commands.
* refactor: extract metadata args into reusable statics魏曹先生2 days2-9/+39
|
* feat(cli): add dynamic completion scripts and global help魏曹先生2 days3-26/+19
| | | | | | 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.
* feat(diagnostic): translate doc comment to English魏曹先生3 days1-1/+1
|
* feat(linter): use RendererInvoker for JSON report rendering魏曹先生6 days1-4/+8
| | | | | Replace AnyOutput-based dispatch with RendererInvoker in render_lint_reports_json to improve type safety and clarity.
* chore: remove deprecated `cmd_mlint_install` module魏曹先生2026-07-233-462/+3
|
* fix: use `rust-analyzer.toml` instead of hardcoded `.rust-analyzer.toml`魏曹先生2026-07-231-3/+2
|
* feat(linter): set exit code to 1 when config already exists魏曹先生2026-07-221-1/+4
|
* feat(linter): add `lint-install` subcommand for rust-analyzer setup魏曹先生2026-07-225-10/+476
|
* refactor(mlint): parallelise lint checks with tokio JoinSet魏曹先生2026-07-221-28/+41
| | | | | | Move file I/O and AST parsing into spawn_blocking closures to avoid blocking the async runtime, enabling concurrent processing of multiple Rust source files.
* feat(mingling_cli): add wrapper binary and optimize release profile魏曹先生2026-07-221-0/+47
| | | | | Add `mling` wrapper binary that delegates to `mingling-cli`, enabling separate binary names while maintaining Cargo conventions.
* feat(mlint): support multiple suggestions per report魏曹先生2026-07-213-9/+228
| | | | | | | | | Replace the single optional `suggestion` field with a `Vec<LintSuggestion>` to allow multiple automatic fix suggestions per lint report BREAKING CHANGE: The `suggestion` field has been replaced by `suggestions`
* fix: update placeholder author name in template linter docs魏曹先生2026-07-211-1/+1
|
* feat(linter): add ResUsingJson flag to rust-analyzer handlers魏曹先生2026-07-211-4/+19
|
* feat(linter): add aliases for Rust Analyzer lint commands魏曹先生2026-07-211-2/+37
| | | | | | Add dispatcher aliases `ra-lint`, `ra-lint-clippy`, and `ra-lint-check` that forward to the existing linter with preset flags for JSON output and optional checkers
* fix(lint): add missing blank line in test module魏曹先生2026-07-211-0/+1
|
* feat(lint): add non_mingling_naming_style lint with auto-fix suggestions魏曹先生2026-07-213-9/+408
| | | | | Support file-level lint checks via `check_file` in lint registry template.
* feat(lints): add quote dependency and improve variable name detection魏曹先生2026-07-212-26/+27
| | | | | | Use `quote` token stream matching instead of debug formatting to detect variable references in `unnecessary_render_result_creation`, fixing false positives from string-based matching.
* feat: add testing macros and unit tests for linters魏曹先生2026-07-213-0/+111
| | | | | | Add `assert_detected!` and `assert_not_detected!` macros to simplify writing lint tests, along with initial test coverage for the unnecessary render result creation linter.
* feat(mlint): support RenderResult::default and ::from detection魏曹先生2026-07-212-24/+39
| | | | | | | | | Extend the `unnecessary_render_result_creation` lint to also flag uses of `RenderResult::default()` and `RenderResult::from(...)`, and add `#[derive(Default)]` to `MlintReport` and `MlintLevel` to simplify struct instantiation
* feat(mling): add linter framework with async support and registry魏曹先生2026-07-2115-22/+1003
| | | | generation
* feat(mingling_cli): add metadata and linter commands with cargo analysis魏曹先生2026-07-216-1/+195
| | | | | Introduce `metadata` and `mlint` subcommands, wire up `cargo_metadata` for manifest analysis, and enable procedural macro support in editors
* feat(mingling_cli): add scaffold for CLI tool魏曹先生2026-07-201-0/+3
| | | | | Add initial project structure for the mingling-cli scaffolding tool, including Cargo manifest and entry point
* Remove mingling_cli crate魏曹先生2026-04-252-62/+0
|
* Add clippy scripts and apply clippy suggestions魏曹先生2026-04-201-4/+4
|
* Remove unnecessary `.into()` calls in chain functions魏曹先生2026-04-191-2/+2
|
* Remove async from dispatcher parsing functions魏曹先生2026-04-192-6/+5
|
* Rename add_dispatcher module to dispatcher_mgr and add remove commandWeicao-CatilGrass2026-04-142-17/+26
|