Skip to content

Commit

Permalink
Rename 'open' command to 'edit'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandeep Jadoonanan committed Nov 12, 2017
1 parent c4d5573 commit 93fd5ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func AddCommands() {
RootCmd.AddCommand(ConnectCmd)
RootCmd.AddCommand(InitCmd)
RootCmd.AddCommand(ListCmd)
RootCmd.AddCommand(OpenCmd)
RootCmd.AddCommand(EditCmd)
RootCmd.AddCommand(StatusCmd)
RootCmd.AddCommand(VersionCmd)
}
Expand Down
6 changes: 3 additions & 3 deletions cmd/open.go → cmd/edit.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"github.com/spf13/cobra"
)

// OpenCmd - Open the konnect.yml config file with the default editor.
var OpenCmd = &cobra.Command{
Use: "open",
// EditCmd - Open the konnect.yml config file with the default editor.
var EditCmd = &cobra.Command{
Use: "edit",
Short: "Open the config file with the default editor",
Long: "Open the config file with the default editor",
Run: func(cmd *cobra.Command, args []string) {
Expand Down

0 comments on commit 93fd5ef

Please sign in to comment.