22 lines
403 B
Go
22 lines
403 B
Go
package imprt
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
var (
|
|
baseCmd = &cobra.Command{
|
|
Use: "import",
|
|
Short: "Kernel Image Import",
|
|
Long: "Import kernel image",
|
|
RunE: CobraRunE,
|
|
Args: cobra.ExactArgs(1),
|
|
|
|
}
|
|
)
|
|
|
|
func init() {
|
|
}
|
|
|
|
// GetRootCommand returns the root cobra.Command for the application.
|
|
func GetCommand() *cobra.Command {
|
|
return baseCmd
|
|
} |