| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| | |
|
| |
|
|
|
|
| |
Replace GitHub API artifact discovery with a static base URL, verify the
downloaded package by sha256, and record the applied checksum so the
wrapper can report when mling is already up to date.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Update registry generation to write to cargo's OUT_DIR and
include it via env! instead of a static project-relative path.
|
| | |
|
| |
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Add help text for global flags, commands, and subcommands in
help.txt. Add metadata descriptions for linter and metadata
commands.
|
| | |
|
| |
|
|
|
|
| |
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.
|