]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
changes: hide commands if quiet and dry-run is active
authorSimon Ruderich <simon@ruderich.org>
Sat, 10 Apr 2021 18:16:06 +0000 (20:16 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sat, 10 Apr 2021 18:16:06 +0000 (20:16 +0200)
commitcfcc39441d8e9b1f003b8d5c02240e7186bfc2d1
tree43c4974a869cfa8c8d0d4d60747234f45c634eda
parentccde6eed234a8530c8180264937566ca5d092bdc
changes: hide commands if quiet and dry-run is active

The goal of quiet is to get a quick overview what is happening or what
is going to happen (when combined with dry-run). While quiet worked fine
for non dry-run syncs it was not very helpful for dry-runs. This change
makes the output much more compact and readable with many commands and
hosts.
cmd/safcm/sync_changes.go
cmd/safcm/sync_changes_test.go