diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-16 18:48:04 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-16 18:48:04 +0200 |
| commit | f90d7f606aca51235fdb2a22fdf2263218138331 (patch) | |
| tree | ea5c1d71c6a6cfc5465256aa002db39ec97e0c70 /dot-backup.sh | |
| parent | 3aaaf1753d8aa444fda44064ff2c655c5788cb25 (diff) | |
| download | dots-backup-f90d7f606aca51235fdb2a22fdf2263218138331.tar.gz dots-backup-f90d7f606aca51235fdb2a22fdf2263218138331.zip | |
feat: dispatch --suggest early and exit
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'dot-backup.sh')
| -rwxr-xr-x | dot-backup.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dot-backup.sh b/dot-backup.sh index 7c77531..e95c67f 100755 --- a/dot-backup.sh +++ b/dot-backup.sh @@ -403,6 +403,11 @@ if [[ "$FIRST_RUN" == true ]]; then exit 0 fi +if [[ "$SUGGEST" == true ]]; then + do_suggest + exit 0 +fi + if [[ "$DRY_RUN" == true ]]; then echo -e "${YELLOW}*** DRY RUN — no files will be copied ***${NC}\n" fi |
