| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
Prefer both streams when present so failures with stderr
warnings still include stdout details like test assertions.
|
| |
|
|
|
| |
Avoid ProgressBar swallowing error output in CI or piped contexts by
printing directly to stdout when stdout is not a terminal.
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Remove `Title`, `Lower`, and `Upper` variants from
`ParserStyleNamingCase` as they are not valid naming conventions.
|
| | |
|
| |
|
|
|
|
|
|
|
|
| |
- Add `#[must_use]` to public constructors and getters
- Change `init_with_config` to accept `&PathfinderConfig` instead of
owned value
- Refactor `map_or_else` and `or_insert_with` for clippy compliance
- Add `#![deny(clippy::pedantic)]` and `#![deny(clippy::nursery)]`
- Document error cases in public API docs
- Simplify duplicated dispatcher_clap analysis logic
|
| | |
|
| |
|
|
|
|
|
| |
Replace `ThisProgram` with `Self` where appropriate and
mark constructors as `#[must_use]` and `const` where possible.
Simplify explicit lifetimes in `ProgramSetup` and `Default`
implementations using elided lifetimes.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|