Skip to content

feat: init product command for patchable #1112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 15, 2025

Conversation

dervoeti
Copy link
Member

@dervoeti dervoeti commented May 9, 2025

Description

I wanted to make product initialization possible via CLI, since everything else can be done by invoking some patchable subcommand as well. Not a huge problem, but it feels a bit awkward to write TOML by hand for that step.
This is an idea on how to realize that: I added two subcommands to patchable init, one for products and one for versions (patchable init product / patchable init version).

The diff looks worse than it really is, the Init part was moved into the InitType::Version subcommand and a new InitType::Product was added.

@dervoeti dervoeti requested a review from nightkr May 9, 2025 14:59
@dervoeti dervoeti force-pushed the feat/patchable-init-product-command branch from 2c17e7e to 618159c Compare May 13, 2025 13:03
@dervoeti dervoeti marked this pull request as ready for review May 14, 2025 14:56
@dervoeti dervoeti requested a review from nightkr May 14, 2025 14:56
@dervoeti dervoeti added this pull request to the merge queue May 15, 2025
Merged via the queue into main with commit 7fea119 May 15, 2025
3 checks passed
@dervoeti dervoeti deleted the feat/patchable-init-product-command branch May 15, 2025 07:08
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.

2 participants