wip
This commit is contained in:
parent
9162a41505
commit
aa46af4983
@ -4,24 +4,16 @@ Copyright © 2024 NAME HERE <EMAIL ADDRESS>
|
|||||||
package cmd
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"git.espin.casa/albert/cml04-falcon-system/injector/app"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
// injectorCmd represents the injector command
|
// injectorCmd represents the injector command
|
||||||
var injectorCmd = &cobra.Command{
|
var injectorCmd = &cobra.Command{
|
||||||
Use: "injector",
|
Use: "injector",
|
||||||
Short: "A brief description of your command",
|
Short: "Injector",
|
||||||
Long: `A longer description that spans multiple lines and likely contains examples
|
Long: "Injector",
|
||||||
and usage of using your command. For example:
|
Run: app.Run,
|
||||||
|
|
||||||
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")
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user