-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lior Nabat
committed
Dec 16, 2022
1 parent
053c5fb
commit fc58676
Showing
60 changed files
with
1,187 additions
and
2,409 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package build | ||
|
||
import ( | ||
"context" | ||
|
||
"github.com/kubemq-io/kubemqctl/pkg/utils" | ||
|
||
"github.com/pkg/browser" | ||
|
||
"github.com/kubemq-io/kubemqctl/pkg/config" | ||
"github.com/spf13/cobra" | ||
) | ||
|
||
func NewCmdBuild(ctx context.Context, cfg *config.Config) *cobra.Command { | ||
cmd := &cobra.Command{ | ||
Use: "build", | ||
Aliases: []string{"b"}, | ||
Short: "Load KubeMQ builder in browser", | ||
Long: "Load KubeMQ builder in browser", | ||
Example: "kubemqctl build", | ||
Run: func(cmd *cobra.Command, args []string) { | ||
utils.Println("Loading KubeMQ build in browser") | ||
utils.CheckErr(browser.OpenURL("https://build.kubemq.io")) | ||
}, | ||
} | ||
|
||
return cmd | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.