INNER CODE UNIT · Go
NewKusionctlCmd
KusionStack/kusion · pkg/cmd/cmd.go:63
func NewKusionctlCmd(o KusionctlOptions) *cobra.Command {
// TODO: optimize the multi-language support.
// Sending in 'nil' for the getLanguageFn() results in using LANGUAGE, LC_ALL,
// LC_MESSAGES, or LANG environment variable in sequence.
// _ = i18n.LoadTranslations(i18n.DomainKusion, nil)
// Parent command to which all subcommands are added.
rootCmd := &cobra.Command{
Use: "kusion",
Short: i18n.T(`Kusion is the Platform Orchestrator of Internal Developer Platform
Find more information at: https://www.kusionstack.io`),
// Long: templates.LongDesc(`
// As a Platform Orchestrator, Kusion delivers user intentions to Kubernetes, Clouds and On-Premise infrastructures.
// It also enables asynchronous cooperation between the developer and the platform team, and drives separation of concerns.
// Find more information at:
// https://www.kusionstack.io/docs/`),