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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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.

1 participant