core

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Overview

Package core creates and initializes the tanzu CLI.

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

Variables

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

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