Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cmd/vclusterctl/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -68,7 +69,7 @@ func NewRootCmd(log log.Logger) *cobra.Command {

return nil
},
Long: `vcluster root command`,
Long: "\n" + clihelper.ASCIIArt,
}
}

Expand Down
9 changes: 8 additions & 1 deletion pkg/util/clihelper/clihelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ import (

const MinHelmVersion = "v3.10.0"

const ASCIIArt = `
_ _
__ _____| |_ _ ___| |_ ___ _ __
\ \ / / __| | | | / __| __/ _ \ '__|
\ V / (__| | |_| \__ \ || __/ |
\_/ \___|_|\__,_|___/\__\___|_|`

// CriticalStatus container status
var CriticalStatus = map[string]bool{
"Error": true,
Expand Down Expand Up @@ -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 {
Expand Down
Loading