From aa46af4983ae27e6bf563b0eada0b18cdb99cc4d Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 3 Oct 2024 16:38:57 +0200 Subject: [PATCH] wip --- cmd/injector.go | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/cmd/injector.go b/cmd/injector.go index 9aae8f0..c48f8ef 100644 --- a/cmd/injector.go +++ b/cmd/injector.go @@ -4,24 +4,16 @@ Copyright © 2024 NAME HERE package cmd import ( - "fmt" - + "git.espin.casa/albert/cml04-falcon-system/injector/app" "github.com/spf13/cobra" ) // injectorCmd represents the injector command var injectorCmd = &cobra.Command{ Use: "injector", - Short: "A brief description of your command", - Long: `A longer description that spans multiple lines and likely contains examples -and usage of using your command. For example: - -Cobra is a CLI library for Go that empowers applications. -This application is a tool to generate the needed files -to quickly create a Cobra application.`, - Run: func(cmd *cobra.Command, args []string) { - fmt.Println("injector called") - }, + Short: "Injector", + Long: "Injector", + Run: app.Run, } func init() {