diff --git a/cmd/vclusterctl/cmd/root.go b/cmd/vclusterctl/cmd/root.go index fe6a7a632e..f39c90ad94 100644 --- a/cmd/vclusterctl/cmd/root.go +++ b/cmd/vclusterctl/cmd/root.go @@ -26,6 +26,7 @@ import ( "github.com/loft-sh/vcluster/pkg/platform/defaults" "github.com/loft-sh/vcluster/pkg/telemetry" "github.com/loft-sh/vcluster/pkg/upgrade" + "github.com/loft-sh/vcluster/pkg/util/clihelper" "github.com/mitchellh/go-homedir" "github.com/sirupsen/logrus" "github.com/spf13/cobra" @@ -68,7 +69,7 @@ func NewRootCmd(log log.Logger) *cobra.Command { return nil }, - Long: `vcluster root command`, + Long: "\n" + clihelper.ASCIIArt, } } diff --git a/pkg/util/clihelper/clihelper.go b/pkg/util/clihelper/clihelper.go index 8be3e91c02..0aaf182485 100644 --- a/pkg/util/clihelper/clihelper.go +++ b/pkg/util/clihelper/clihelper.go @@ -26,6 +26,13 @@ import ( const MinHelmVersion = "v3.10.0" +const ASCIIArt = ` + _ _ + __ _____| |_ _ ___| |_ ___ _ __ + \ \ / / __| | | | / __| __/ _ \ '__| + \ V / (__| | |_| \__ \ || __/ | + \_/ \___|_|\__,_|___/\__\___|_|` + // CriticalStatus container status var CriticalStatus = map[string]bool{ "Error": true, @@ -88,7 +95,7 @@ func GetKubeConfig(ctx context.Context, kubeClient *kubernetes.Clientset, vclust if err != nil { return false, nil } - log.Done("vCluster is up and running") + log.Done("vCluster is up and running" + ASCIIArt) return true, nil }) if err != nil {