Skip to content

Commit

Permalink
renaming things
Browse files Browse the repository at this point in the history
  • Loading branch information
sharepointoscar committed Apr 6, 2020
1 parent 69e6b51 commit 941e895
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
!.vscode/extensions.json

# End of https://www.gitignore.io/api/code
cocktail
gn
2 changes: 1 addition & 1 deletion cmd/gn.go → cmd/kubectl-gn.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

// generateNameCmd represents the generateName command
var generateNameCmd = &cobra.Command{
Use: "gn [name] [flags]",
Use: "[name] [flags]",
Short: "Generates the cluster name.",
Long: `This kubectl plugin generates your EKS or GKE cluster name.`,
Run: func(cmd *cobra.Command, args []string) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func init() {
// Cobra supports persistent flags, which, if defined here,
// will be global for your application.

rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.cocktail.yaml)")
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.gn.yaml)")

// Cobra also supports local flags, which will only run
// when this action is called directly.
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.
package main

import (
"github.com/sharepointoscar/kubectl-gen-cluster-name/cmd"
"github.com/sharepointoscar/kubectl-gn/cmd"
)

func main() {
Expand Down

0 comments on commit 941e895

Please sign in to comment.