cmd

package
v0.9.7-beta Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2021 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package cmd

Index

Constants

This section is empty.

Variables

View Source
var Version = "v0.9.0"

Version is the semver of the devctl binary

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func NewCompletionCommand

func NewCompletionCommand() *cobra.Command

NewCompletionCommand Creates new Completion cobra.Command

func NewConfigCommand

func NewConfigCommand() *cobra.Command

func NewInitCommand added in v0.9.0

func NewInitCommand() (cmd *cobra.Command)

func NewPrefixCommand

func NewPrefixCommand() *cobra.Command

NewPrefixCommand creates the `devenv prefix` commands

func NewSdkCommand

func NewSdkCommand() *cobra.Command

NewSdkCommand creates the `devenv sdk` commands

func NewSdkManCommand

func NewSdkManCommand() (cmd *cobra.Command)

NewSdkManCommand creates the sdkman command

func NewSdkManDefaultCommand added in v0.8.0

func NewSdkManDefaultCommand() (cmd *cobra.Command)

NewSdkManCommand creates the sdkman command

func NewSdkManDownloadCommand added in v0.8.0

func NewSdkManDownloadCommand() (cmd *cobra.Command)

NewSdkManCommand creates the sdkman command

func NewSdkManListCommand added in v0.7.0

func NewSdkManListCommand() (cmd *cobra.Command)

NewSdkManCommand creates the sdkman command

func NewSdkManVersionsCommand added in v0.8.0

func NewSdkManVersionsCommand() (cmd *cobra.Command)

NewSdkManCommand creates the sdkman command

Types

type OutputFormat added in v0.7.0

type OutputFormat string
const (
	Text  OutputFormat = "text"
	Table OutputFormat = "table"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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