TaskT
Taskโ€ข14mo agoโ€ข
10 replies
Dnaron

How to reuse code in taskfile?

I have a lot of commands which all begin with the same code, and I'd like some clever way to reuse them. I found out I can do it with
vars
, but the problem is that I would like to keep the calls short and sweet, and using
var
changes the height of each method from 1 line to 4 ๐Ÿ˜ฎ Is there some other, more concise method?
Was this page helpful?