Bartosz Sławecki
Bartosz Sławecki
What is the status of this issue? Any news so far?
Also, I would honestly call it `TASK_STAGE` or `EVENT`, not `OPERATION`.
For those who need a workaround, you might look into my template—https://github.com/bswck/skeleton/blob/master/handle-task-event.sh. I made a template shell script that is rendered and run every time copier operates. It's included in...
My favorite approach would be a single declarative Python script that would allow to register callbacks for each event; with overall appearance similar to `noxfile.py`. Something more or less like:...
> @bswck That would only work for Python scripts, but tasks can use executables written in any language. Why? I just showed an example of invoking the GitHub CLI. If...
> Is there an update on this feature? When creating a new repo, developers in our company have to follow a runbook. This would greatly help automate this stuff and...
> I've written a gh CLI plugin that allows creating and provisioning environments and their secrets/variables from JSON files, in case that's the sort of thing that people were hoping...
Bump! I've just encountered the same issue. I'm not really into creating a custom descriptor.
Has the best solution been invented for this case? I have just run into the same 'unconstrained TypeVar contains None' pitfall.
> I don't see how a comment in the file telling the name of the file would be useful Telling the template filename would be useful in comments, because it...