Skip to content

Commit

Permalink
feat: print message when done
Browse files Browse the repository at this point in the history
closes #7

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Jan 7, 2023
1 parent 17c21e5 commit 560b64f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ var rootCmd = &cobra.Command{
if m.(model).interrupting {
return fmt.Errorf("interrupted")
}
if name != "" {
cmd.Printf("%s ", name)
}
cmd.Printf("finished!\n")
return nil
},
}
Expand Down

0 comments on commit 560b64f

Please sign in to comment.