commands

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package commands provides the root command and all subcommands for the bindplane-op cli

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
Package apply provides the apply command, which upserts resources from a file to the store.
Package apply provides the apply command, which upserts resources from a file to the store.
Package copy provides the copy command.
Package copy provides the copy command.
Package delete provides the delete command, as well as subcommands for deleting specific resources and resource types.
Package delete provides the delete command, as well as subcommands for deleting specific resources and resource types.
Package get provides the get command, which displays one or more resources, as well as subcommands for each resource type.
Package get provides the get command, which displays one or more resources, as well as subcommands for each resource type.
Package initialize provides the initialize command, which initializes an installation.
Package initialize provides the initialize command, which initializes an installation.
Package install provides the install command, which installs a new agent.
Package install provides the install command, which installs a new agent.
Package label contains the label command.
Package label contains the label command.
Package profile provides commands for managing BindPlane profile configurations.
Package profile provides commands for managing BindPlane profile configurations.
Package serve provides the `serve` command for the CLI.
Package serve provides the `serve` command for the CLI.
Package sync provides the sync command, which synchronizes an agent-version from github with the store.
Package sync provides the sync command, which synchronizes an agent-version from github with the store.
Package update contains the update command, which upgrades a specific agent
Package update contains the update command, which upgrades a specific agent
Package validate provides the validate command
Package validate provides the validate command
Package version provides the version command, which prints the BindPlane version.
Package version provides the version command, which prints the BindPlane version.

Jump to

Keyboard shortcuts

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