cmd

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var COMMIT = "unknown"

COMMIT is the short hash of the source tree. This should be substituted by Git commit hash during the build process.

View Source
var VERSION = "dev"

VERSION is the current version of decK. This should be substituted by git tag during the build process.

Functions

func Execute

func Execute(ctx context.Context)

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 NewRootCmd added in v1.12.0

func NewRootCmd() *cobra.Command

NewRootCmd represents the base command when called without any subcommands

Types

This section is empty.

Jump to

Keyboard shortcuts

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