Closed op-ct closed 2 years ago
I think the solution for this is something along the lines of having "plan templates" that users can create and then make new plans from. Ideally templates would be available in modules, would be in a well-known or common language. We could start by shipping our own Bolt templates, and as an improvement let users write + ship their own templates.
This issue has not had activity for 60 days and will be marked as stale. If this issue continues to have no activity for 7 days, it will be closed.
This issue is stale and has been closed. If you believe this is in error, or would like the Bolt team to reconsider it, please reopen the issue.
Use Case
I've been thinking more about the
bolt plan new --script <script_name>
code generation @adreyer proposed in #2654.It might be handy to give
bolt plan new
options that wrap existing tasks and plans inrun_*()
functions and scaffold their parameters (since Bolt already knows them).Describe the Solution You Would Like
A clear and concise description of what you want to happen.
With a result like:
Additional Context
This is not carefully thought out at all—I just want to propose it somewhere for comment, and it's a pretty big chunk of code to throw in the Slack.