feat: notify when a new version is available

This commit is contained in:
Mathis Maquenne
2026-07-30 11:30:08 +02:00
parent b734ad802a
commit 544fd09199
3 changed files with 68 additions and 3 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ func main() {
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt)
defer stop()
if err := cmd.RootCmd.ExecuteContext(ctx); err != nil {
if err := cmd.Execute(ctx); err != nil {
stop()
os.Exit(1)
}