commands

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindplaneHome

func BindplaneHome() string

BindplaneHome returns the value of the homeArg, BINDPLANE_CONFIG_HOME, or a default of $HOME/.bindplane

func Command

func Command(bindplane *cli.BindPlane, name string) *cobra.Command

Command is the root command that represents the base command, in this function we add persistent flags, and bind them to viper. The persistent pre run function here is where we read the profile file and set the values for bindplane.Config

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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