19 lines
427 B
Go
19 lines
427 B
Go
package list
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
var (
|
|
baseCmd = &cobra.Command{
|
|
Use: "list [flags] [profile pattern]...",
|
|
Short: "List profiles and configurations",
|
|
Long: "This command will list and show the profile configurations.",
|
|
RunE: CobraRunE,
|
|
Aliases: []string{"ls"},
|
|
}
|
|
)
|
|
|
|
// GetRootCommand returns the root cobra.Command for the application.
|
|
func GetCommand() *cobra.Command {
|
|
return baseCmd
|
|
}
|