Skip to content

Commit

Permalink
✨ Print log when copying is successful
Browse files Browse the repository at this point in the history
  • Loading branch information
5n7-sk committed Jul 5, 2020
1 parent 39cdbb8 commit db3c23e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/gmoji/cmd/cmd_copy.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package cmd

import (
"fmt"

"github.com/fatih/color"
"github.com/skmatz/gmoji/cli"
"github.com/spf13/cobra"
)
Expand All @@ -15,6 +18,8 @@ func runCopy(cmd *cobra.Command, args []string) error {
return err
}

fmt.Printf("%s\n", color.GreenString("Copied to clipboard successfully"))

return nil
}

Expand Down

0 comments on commit db3c23e

Please sign in to comment.