26 lines
582 B
Go
26 lines
582 B
Go
package list
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
var (
|
|
baseCmd = &cobra.Command{
|
|
Use: "list",
|
|
Short: "List VNFS images",
|
|
Long: "List VNFS images ",
|
|
RunE: CobraRunE,
|
|
}
|
|
SystemOverlay bool
|
|
BuildAll bool
|
|
)
|
|
|
|
func init() {
|
|
//baseCmd.PersistentFlags().BoolVarP(&SystemOverlay, "system", "s", false, "Show System Overlays as well")
|
|
//baseCmd.PersistentFlags().BoolVarP(&BuildAll, "all", "a", false, "Build all overlays (runtime and system)")
|
|
|
|
}
|
|
|
|
// GetRootCommand returns the root cobra.Command for the application.
|
|
func GetCommand() *cobra.Command {
|
|
return baseCmd
|
|
}
|