Skip to content

Make task execution optional #2046

Open
@azatoth

Description

@azatoth

Actual Situation

Currently I have a template to setup AWS CDK templates and I setup a task to run bootstrap on the new environment. But as I usually only want to run bootstrap once, or when certain things has changed in the template, I've resorted in having the tasks commented out fully.

Desired Situation

I would like to instead of a --tasks flag that is required to be set in order to run copier at all, I would like instead something like this: --enable-task taskId for copy, and additional add a separate command run-task <taskId> to only run the task

Proposed solution

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions