Added wwctl container exec ... feature

This commit is contained in:
Gregory Kurtzer
2020-12-06 09:33:36 -08:00
parent 287395f852
commit 3041fcac6b
6 changed files with 152 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
package child
import "github.com/spf13/cobra"
var (
baseCmd = &cobra.Command{
Use: "__child",
Hidden: true,
RunE: CobraRunE,
Args: cobra.MinimumNArgs(1),
}
)
func init() {
}
// GetRootCommand returns the root cobra.Command for the application.
func GetCommand() *cobra.Command {
return baseCmd
}