aboutsummaryrefslogtreecommitdiffstats
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/bridge_rm.go8
1 files changed, 6 insertions, 2 deletions
diff --git a/commands/bridge_rm.go b/commands/bridge_rm.go
index 5d38083c..1c840e8a 100644
--- a/commands/bridge_rm.go
+++ b/commands/bridge_rm.go
@@ -1,10 +1,13 @@
package commands
import (
+ "fmt"
+
+ "github.com/spf13/cobra"
+
"github.com/MichaelMure/git-bug/bridge"
"github.com/MichaelMure/git-bug/cache"
"github.com/MichaelMure/git-bug/util/interrupt"
- "github.com/spf13/cobra"
)
func runBridgeRm(cmd *cobra.Command, args []string) error {
@@ -20,11 +23,12 @@ func runBridgeRm(cmd *cobra.Command, args []string) error {
return err
}
+ fmt.Printf("Successfully removed bridge configuration %v", args[0])
return nil
}
var bridgeRmCmd = &cobra.Command{
- Use: "rm name <name>",
+ Use: "rm <name>",
Short: "Delete a configured bridge.",
PreRunE: loadRepo,
RunE: runBridgeRm,