This commit is contained in:
2022-09-21 11:06:53 +02:00
parent a503204e8a
commit ac4aabede4
34 changed files with 124 additions and 124 deletions

View File

@@ -8,7 +8,7 @@ import (
"github.com/spf13/cobra"
)
func CreateKrakenProcessCmd() *cobra.Command {
func CreateOctopushProcessCmd() *cobra.Command {
var (
actionsRepo string

View File

@@ -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
}

View File

@@ -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)
}