aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli
Commit message (Collapse)AuthorAgeFilesLines
* chore: remove ZIP template packaging and use directories魏曹先生39 hours3-629/+33
| | | | | | Replace the ZIP-based template archive workflow with direct directory copying. Delete the `package-mling-tmpls` tool and remove the `zip` dependency.
* feat(config): add metadata description for config command魏曹先生39 hours1-1/+9
|
* feat(config): add cfg --pair flag and refactor config path魏曹先生40 hours3-6/+129
| | | | | | | Add `--pair` flag to output config values as `"key" = "value"` pairs, and provide escaped formatting for display. Move config path resolution to a helper function and expose the underlying hash map for rendering and completion.
* feat: add config command and resource for editing settings魏曹先生40 hours5-5/+122
| | | | | Add a new `cfg` command to view and edit configuration items stored as key-value pairs in a JSON file.
* refactor: move packages dir to mingling/packages魏曹先生40 hours3-4/+4
|
* feat: add project template expansion with rule-based generation魏曹先生40 hours7-8/+1439
| | | | | | | | Implement `mling proj-init` to generate projects from zip templates with checklist-based configuration. Extracts template archive, moves checklist for user editing, and expands `tmpl_`-prefixed files using `just_template` with boolean rule evaluation from `rule.toml` for file hides and display toggles.
* feat: add Mingling 0.4 template files魏曹先生2 days13-0/+314
|
* refactor(pkg-mgr): use pack results for uninstall states魏曹先生2 days1-25/+42
|
* feat(pkg-show): return early error for empty packages魏曹先生2 days1-9/+18
| | | | | Add dedicated error renderer for "No packages installed" and return it early instead of rendering empty package list.
* fix: use consistent output macro for install results魏曹先生2 days1-2/+2
|
* refactor: migrate renderers to RenderResult and stdout macros魏曹先生2 days5-65/+99
| | | | | Replace buffer-based renderers with explicit RenderResult returns and use cargo-styled output macros for consistency.
* feat: add cargo-style formatting utilities and macros魏曹先生2 days2-0/+219
|
* style: format code and fix minor lint issues魏曹先生2 days2-1/+1
|
* fix: correct docs for parse function in utils::display魏曹先生2 days1-4/+4
|
* feat: Switch loader script to zsh syntax魏曹先生2 days1-2/+2
|
* chore: rename CLI completion scripts to mling魏曹先生2 days1-1/+1
|
* build: replace cargo install with local release build in scripts魏曹先生2 days4-0/+88
| | | | | | | Update install scripts to build from manifest and copy binaries manually instead of using `cargo install`. Add load scripts for bash, zsh, fish, and PowerShell to set up PATH and source completion scripts from external packages.
* feat(pkg-mgr): implement pkg-show command魏曹先生2 days4-1/+220
| | | | | | 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 days7-6/+272
| | | | | 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 days7-6/+426
| | | | | | | 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
|
* docs(help): rename package commands to pkg prefix魏曹先生2 days1-3/+3
|
* chore: fix help text alignment for metadata command魏曹先生2 days1-1/+1
|
* 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 days3-21/+24
| | | | | Move the CLI binary from `src/main.rs` to `src/bin/cli.rs` and move shared program generation into a new lib.rs module.
* docs: format help text with markdown styling魏曹先生2 days1-26/+27
|
* chore(mingling_cli): add colored dependency and utils module魏曹先生2 days5-0/+397
|
* revert: Remove serde and structural renderer support魏曹先生2 days4-19/+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 days6-4/+139
| | | | | | | | | | 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 days4-3/+66
| | | | | | 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 days7-27/+31
| | | | | | 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.
* chore: bump version to 0.4.0魏曹先生2 days2-6/+6
|
* feat(diagnostic): translate doc comment to English魏曹先生5 days1-1/+1
|
* feat(linter): use RendererInvoker for JSON report rendering魏曹先生7 days1-4/+8
| | | | | Replace AnyOutput-based dispatch with RendererInvoker in render_lint_reports_json to improve type safety and clarity.
* refactor!: rename `extra_macros` feature to `extras`feat/new-pipeline-model魏曹先生9 days1-1/+1
| | | | | Update all references across docs, examples, and configuration files to use the shorter `extras` feature name.
* chore: bump arg-picker and arg-picker-macros to v0.1.1picker-0.1.1魏曹先生2026-07-271-2/+2
|
* feat: add `might_be_async` dependency and update lockfiles魏曹先生2026-07-241-4/+76
| | | | | | | Introduce `might_be_async` as a workspace dependency, add it to `mingling_core`, and regenerate all Cargo.lock files accordingly. Multiple examples and test packages also pick up a newly transitive `equivalent` crate.
* chore: remove deprecated `cmd_mlint_install` module魏曹先生2026-07-235-471/+5
|
* fix: use `rust-analyzer.toml` instead of hardcoded `.rust-analyzer.toml`魏曹先生2026-07-231-3/+2
|