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:
Josh Bebbington
2018-07-29 00:38:52 +01:00
parent 31273cd6ff
commit 1c7ca94d49
4 changed files with 15 additions and 1 deletions

View File

@@ -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} \