Skip to content
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

FAQ item: Pass arguments to a recipe from the command line #199

Closed
timtebeek opened this issue Jul 10, 2023 · 1 comment · Fixed by #200
Closed

FAQ item: Pass arguments to a recipe from the command line #199

timtebeek opened this issue Jul 10, 2023 · 1 comment · Fixed by #200
Labels
enhancement New feature or request

Comments

@timtebeek
Copy link
Contributor

What problem are you trying to solve?

People frequently ask if it's possible to provide parameters to recipes on the commandline, which is tricky when recipes invoke further recipes. Some of that is captured in a GitHub issue.

Describe the solution you'd like

A FAQ entry that we can refer to, which highlights the limitations why it's not possible yet, and where to subscribe for any future updates. That way we can refer to the FAQ instead of repeating ourselves, at least until there's something new to share.

Have you considered any alternatives or workarounds?

Nope.

Additional context

Comes up repeatedly in Slack; most recently in: https://rewriteoss.slack.com/archives/C01A843MWG5/p1689005117353539
And in: openrewrite/rewrite-maven-plugin#345

@timtebeek timtebeek added the enhancement New feature or request label Jul 10, 2023
@timtebeek
Copy link
Contributor Author

There's also the option of running through the Moderne CLI which accepts recipeParams, which might work for some use cases.

mike-solomon added a commit that referenced this issue Jul 10, 2023
mike-solomon added a commit that referenced this issue Jul 10, 2023
Fixes: #199

Co-authored-by: Mike Sol <mike-solomon@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant