-
Hi, I was wondering if it might be possible to enable a specific strategy, such as toggleterm, for certain task templates. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When I first added the concept of a Strategy I thought that it would mainly be something the user configures once and never looks at again; I didn't foresee it becoming something that people would want to change on a per-task basis. Nonetheless, I believe that this should currently be possible, though it is not documented. The docs for template have a builder function that returns a task definition. That definition includes things like |
Beta Was this translation helpful? Give feedback.
When I first added the concept of a Strategy I thought that it would mainly be something the user configures once and never looks at again; I didn't foresee it becoming something that people would want to change on a per-task basis. Nonetheless, I believe that this should currently be possible, though it is not documented. The docs for template have a builder function that returns a task definition. That definition includes things like
cmd
,args
, andcomponents
. It is not listed, but I think that if you also add astrategy
, that should work as expected.