| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
Replace boolean flags in `ProgramStdoutSetting` and `ProgramUserContext`
with semantic enum types, improving type safety and self-documentation.
BREAKING CHANGE: Boolean fields are replaced by enums, e.g.
`verbose`/`quiet`/`debug` become `verbosity`, `dry_run`/`force` become
`execution`.
|
| |
|
|
|
|
|
| |
Update stdout and error output settings to use explicit `RenderOutput`
and `ErrorOutput` enums, and replace the `confirm` boolean with distinct
`ConfirmationMode`, `InteractionMode`, and `YesAssumption` fields for
clearer control flow.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace bool-based settings with enums, refine visibility and
signatures, and standardize `Self` usage across the crate.
- Introduce `ErrorOutput`, `RenderOutput`, `PanicSilence`, `Verbosity`,
`ColorOutput`, and `ProgressOutput` enums for clearer configuration
semantics
- Make `GlobalResources`, `ProgramCell`, and
`split_input`/`split_input_string` public
- Change hook info parameters to accept references and
`split_input_string` to take `&str`
- Apply `Self` shorthand throughout implementations and add
`#[must_use]` attributes where appropriate
- Enable strict clippy lints with targeted allowances
|
| | |
|
| |
|
|
|
| |
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.
|
| | |
|
| | |
|