aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/help
Commit message (Collapse)AuthorAgeFilesLines
* feat: add self-update command for mling魏曹先生28 hours1-0/+3
| | | | | | | | Add `mling update` to fetch the latest GitHub Actions artifact for the current platform, stage it as a tarball in the data directory, and apply it on the next wrapper invocation. The wrapper extracts the staged package over the installation directory while skipping the running executable, then removes the staged file.
* feat(class-add): implement class-add command魏曹先生7 days1-1/+1
| | | | | | | Add the `class-add` command to create project classes from templates registered in `.mling/classes.toml`. Supports name derivation (snake_case, PascalCase, etc.), template expansion, and shell completions.
* feat(config): add cfg --pair flag and refactor config path魏曹先生8 days1-0/+1
| | | | | | | 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魏曹先生8 days1-1/+6
| | | | | Add a new `cfg` command to view and edit configuration items stored as key-value pairs in a JSON file.
* feat: add project template expansion with rule-based generation魏曹先生8 days1-2/+2
| | | | | | | | 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(pkg-mgr): implement pkg-show command魏曹先生8 days1-1/+1
| | | | | | 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魏曹先生8 days1-2/+2
| | | | | 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魏曹先生8 days1-1/+2
| | | | | | | 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.
* docs(help): rename package commands to pkg prefix魏曹先生8 days1-3/+3
|
* chore: fix help text alignment for metadata command魏曹先生8 days1-1/+1
|
* docs: format help text with markdown styling魏曹先生8 days1-26/+27
|
* feat(cli): implement `explain` command and add JSON structural rendering魏曹先生8 days1-1/+1
| | | | | | | | | | 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.
* docs: add help text for CLI commands and descriptions魏曹先生8 days1-0/+27
| | | | | | Add help text for global flags, commands, and subcommands in help.txt. Add metadata descriptions for linter and metadata commands.
* feat(cli): add dynamic completion scripts and global help魏曹先生8 days1-0/+3
| | | | | | 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(mingling_cli): add wrapper binary and optimize release profile魏曹先生2026-07-221-0/+0
Add `mling` wrapper binary that delegates to `mingling-cli`, enabling separate binary names while maintaining Cargo conventions.