mirror of
https://github.com/go-task/task.git
synced 2026-07-03 01:18:48 +00:00
Implemented dry run mode
Added a --dry-run flag that compiles and steps through each task, but does not execute them. The commands that would have been run are printed. See #125.
This commit is contained in:
@@ -12,6 +12,7 @@ function __list() {
|
||||
|
||||
_arguments \
|
||||
'(-d --dir)'{-d,--dir}': :_files' \
|
||||
'(--dry-run)'--dry-run \
|
||||
'(-f --force)'{-f,--force} \
|
||||
'(-i --init)'{-i,--init} \
|
||||
'(-l --list)'{-l,--list} \
|
||||
|
||||
Reference in New Issue
Block a user