| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
Refactor `find_project_root` to use `deverbatim` on canonicalized paths,
removing the `\\?\` prefix on Windows to ensure proper path handling.
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Add `[[hide-dir]]` rule to remove entire directories when their
condition evaluates to true, extending the existing file-level
hide functionality to directory trees.
|
| |
|
|
|
|
| |
Add `!=` operator support in rule expressions and ensure the entire
expression is consumed during parsing, invalidating any trailing
garbage tokens that would previously be silently ignored.
|
| |
|
|
|
|
| |
Support `[[user.toggle-mutex]]` groups in rule.toml to enforce
mutually exclusive toggle options, and derive `program_crate_name`
from `program_name` using snake_case conversion.
|
| |
|
|
|
| |
Remove `tmpl_` prefix stripping and special `.mling` handling, rendering
all files as templates except metadata files.
|
| |
|
|
|
|
| |
Allow `proj-init` to accept a `<ref>@<variant>` template source
that resolves and caches templates from a git repository, falling
back to local directories for plain paths.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Replace the ZIP-based template archive workflow with direct
directory copying. Delete the `package-mling-tmpls` tool and
remove the `zip` dependency.
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Add a new `cfg` command to view and edit configuration
items stored as key-value pairs in a JSON file.
|
| | |
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| |
|
|
|
| |
Add dedicated error renderer for "No packages installed" and
return it early instead of rendering empty package list.
|
| | |
|
| |
|
|
|
| |
Replace buffer-based renderers with explicit RenderResult returns and
use cargo-styled output macros for consistency.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Add package enable/disable functionality with version matching
for pkg-enable, and fix help text to reflect implemented commands.
|
| |
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|