feat: huge overhaul of messaging into FAIL, WARN, hint, ok, prompt, and progress types

This commit is contained in:
Lewis Wynne 2026-02-11 02:11:58 +00:00
parent 6ccd801c89
commit b52a5bfdb7
30 changed files with 192 additions and 96 deletions

View file

@ -67,12 +67,12 @@ func sync(manual bool) error {
return err
}
} else if manual {
fmt.Println("no changes to commit")
okf("no changes to commit")
}
if remoteInfo.Ref == "" {
if manual {
fmt.Println("no remote configured; skipping push")
warnf("no remote configured, skipping push")
}
return nil
}
@ -105,7 +105,7 @@ func sync(manual bool) error {
return pushRemote(repoDir, remoteInfo)
}
if manual {
fmt.Println("nothing to push")
okf("nothing to push")
}
}