rename
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func CreateKrakenProcessCmd() *cobra.Command {
|
||||
func CreateOctopushProcessCmd() *cobra.Command {
|
||||
|
||||
var (
|
||||
actionsRepo string
|
||||
|
@@ -2,13 +2,13 @@ package commands
|
||||
|
||||
import "github.com/spf13/cobra"
|
||||
|
||||
func CreateKrakenCmd() *cobra.Command {
|
||||
func CreateOctopushCmd() *cobra.Command {
|
||||
cmd := &cobra.Command{
|
||||
Use: "kraken",
|
||||
Use: "octopush",
|
||||
// Run: func(cmd *cobra.Command, args []string) { },
|
||||
}
|
||||
|
||||
cmd.AddCommand(CreateKrakenProcessCmd())
|
||||
cmd.AddCommand(CreateOctopushProcessCmd())
|
||||
|
||||
return cmd
|
||||
}
|
||||
|
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"os"
|
||||
|
||||
"git.front.kjuulh.io/kjuulh/kraken/cmd/kraken/commands"
|
||||
"git.front.kjuulh.io/kjuulh/octopush/cmd/octopush/commands"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -11,7 +11,7 @@ func main() {
|
||||
}
|
||||
|
||||
func Execute() {
|
||||
err := commands.CreateKrakenCmd().Execute()
|
||||
err := commands.CreateOctopushCmd().Execute()
|
||||
if err != nil {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
Reference in New Issue
Block a user