You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Giving the fact that if status returns 0 the tasks is considered up-to-date and so cmds will no be executed, then could we avoid running the associated prompt?
For example, giving the following Taskfile:
version: "3"tasks:
clean:
desc: Remove application folder if existsprompt: There's already an application named '{{.APP_NAME}}' do you want to remove it?cmds:
- rm -r {{.APP_NAME}}status:
- test ! -d {{.APP_NAME}}
In the above case we don't want to be prompted if the folder doesn't exists.
The text was updated successfully, but these errors were encountered:
Giving the fact that if
status
returns0
the tasks is considered up-to-date and socmds
will no be executed, then could we avoid running the associatedprompt
?For example, giving the following Taskfile:
In the above case we don't want to be prompted if the folder doesn't exists.
The text was updated successfully, but these errors were encountered: