Skip to content

Add workspace crunch config support#7

Merged
liamaharon merged 5 commits intomainfrom
project-config
Apr 8, 2026
Merged

Add workspace crunch config support#7
liamaharon merged 5 commits intomainfrom
project-config

Conversation

@liamaharon
Copy link
Copy Markdown
Owner

@liamaharon liamaharon commented Apr 8, 2026

Closes #3

  • add project-level crunch.config.toml support, including a dedicated config module and CLI/config merge behavior so repeated flags can live in the workspace
  • auto-create a commented crunch.config.toml on the first crunch run in a workspace and require core defaults like build_env, exclude, and remote_path to come from that file
  • update the README/help text, bump the crate version to 0.0.14, and add tests covering config parsing, precedence, and first-run config creation

Persist project-level crunch defaults in crunch.config.toml so repeated flags are not needed. Auto-initialize new workspaces with a commented config template and let CLI flags override project settings.
Comment thread readme.md Outdated
Comment thread readme.md Outdated
Comment thread readme.md Outdated
Match the conventional Rust tool naming style by using crunch.toml for project configuration. Update the generated first-run config path, help text, documentation, and tests to use the new filename.
@liamaharon liamaharon merged commit 24bd6d2 into main Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Config files

1 participant