command

package
v0.0.0-...-b25b198 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Overview

Package command creates and initializes the tanzu CLI.

Package command provides commands

Index

Constants

View Source
const (
	ConfigLiteralFeatures = "features"
	ConfigLiteralEnv      = "env"
)

ConfigLiterals used with set/unset commands

View Source
const DefaultDocsDir = "docs/cli/commands"

DefaultDocsDir is the base docs directory

View Source
const ErrorDocsOutputFolderNotExists = "" /* 137-byte string literal not displayed */

Variables

View Source
var RootCmd = &cobra.Command{
	Use: "tanzu",

	SilenceErrors: true,
}

RootCmd is the core root Tanzu command

Functions

func Execute

func Execute() error

Execute executes the CLI.

func NewRootCmd

func NewRootCmd() (*cobra.Command, error)

NewRootCmd creates a root command.

Types

This section is empty.

Directories

Path Synopsis
Package plugintemplates provides templates for CLI doc generation
Package plugintemplates provides templates for CLI doc generation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL