aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/push.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/push.go b/commands/push.go
index e2c29c68..86c37b46 100644
--- a/commands/push.go
+++ b/commands/push.go
@@ -2,6 +2,8 @@ package commands
import (
"errors"
+ "fmt"
+
"github.com/MichaelMure/git-bug/bug"
"github.com/spf13/cobra"
)
@@ -16,10 +18,13 @@ func runPush(cmd *cobra.Command, args []string) error {
remote = args[0]
}
- if err := bug.Push(repo, remote); err != nil {
+ stdout, err := bug.Push(repo, remote)
+ if err != nil {
return err
}
+ fmt.Println(stdout)
+
return nil
}