aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* refactor: move packages dir to mingling/packages魏曹先生6 days3-4/+4
|
* feat: add project template expansion with rule-based generation魏曹先生6 days7-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.
* chore: update package versions to 0.4.0 in lock files魏曹先生7 days35-108/+108
|
* ci: package mling templates in CI workflow魏曹先生7 days1-0/+3
|
* chore: add template packaging tool and ignore templates dir魏曹先生7 days4-4/+701
|
* feat: add Mingling 0.4 template files魏曹先生7 days13-0/+314
|
* refactor(pkg-mgr): use pack results for uninstall states魏曹先生7 days1-25/+42
|
* feat(pkg-show): return early error for empty packages魏曹先生7 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魏曹先生7 days1-2/+2
|
* fix: copy mingling-cli binary in install scripts魏曹先生7 days2-0/+2
|
* refactor: migrate renderers to RenderResult and stdout macros魏曹先生7 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魏曹先生7 days2-0/+219
|
* style: format code and fix minor lint issues魏曹先生7 days2-1/+1
|
* fix: correct docs for parse function in utils::display魏曹先生7 days1-4/+4
|
* feat: Switch loader script to zsh syntax魏曹先生7 days1-2/+2
|
* chore: rename CLI completion scripts to mling魏曹先生7 days3-5/+3
|
* build: replace cargo install with local release build in scripts魏曹先生7 days6-9/+111
| | | | | | | 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魏曹先生7 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魏曹先生7 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魏曹先生7 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魏曹先生7 days1-4/+209
|
* feat(pkg-mgr): add install command placeholder魏曹先生7 days2-0/+10
|
* docs(help): rename package commands to pkg prefix魏曹先生7 days1-3/+3
|
* chore: fix help text alignment for metadata command魏曹先生7 days1-1/+1
|
* refactor(cli): move global help and completion to library魏曹先生7 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魏曹先生7 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魏曹先生7 days1-26/+27
|
* chore(mingling_cli): add colored dependency and utils module魏曹先生7 days5-0/+397
|
* revert: Remove serde and structural renderer support魏曹先生7 days4-19/+8
|
* feat(lint): add shell completion for linter checkers魏曹先生7 days1-6/+26
|
* refactor(linter): rename LintRegistry to ResLintRegistry魏曹先生7 days2-7/+7
|
* feat(linter): refactor lint registry into program resource魏曹先生7 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魏曹先生7 days1-4/+2
|
* chore: align markdown table formatting魏曹先生7 days1-8/+8
|
* chore: add shell completion for explain command魏曹先生7 days1-3/+20
|
* feat(cli): implement `explain` command and add JSON structural rendering魏曹先生7 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魏曹先生7 days2-64/+64
|
* refactor(linter): rename cmd_mlint to cmd_lint魏曹先生7 days2-2/+2
|
* feat: add package and project manager modules魏曹先生7 days3-0/+2
|
* docs: add help text for CLI commands and descriptions魏曹先生7 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魏曹先生7 days2-9/+39
|
* feat(cli): add dynamic completion scripts and global help魏曹先生7 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: remove deprecated comment魏曹先生7 days1-3/+0
|
* fix(comps): fix PowerShell completion word index and arg passing魏曹先生7 days2-8/+32
| | | | | Correct off-by-one word index computation and conditionally pass option values only when non-empty to avoid spurious parsing.
* fix(zsh): guard compdef call with function check魏曹先生7 days1-3/+6
| | | | | If compdef is not available, fall back to compctl directly without invoking an undefined command.
* chore: bump version to 0.4.0魏曹先生7 days9-20/+20
|
* feat(pathf): remove BasicStructPattern from analyzer魏曹先生9 days4-4/+12
| | | | | | | | 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.
* feat(diagnostic): translate doc comment to English魏曹先生9 days1-1/+1
|
* fix(core): write RenderResult::eprintln to stderr魏曹先生11 days2-1/+3
| | | | | Fix the method to use `eprintln!` instead of `println!` when `immediate_output` is enabled, ensuring error output goes to stderr.
* chore: remove redundant comments in fish completion script魏曹先生11 days1-8/+0
|