cmd

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version   = "unknown-version"
	GitCommit = "unknown-commit"
)

Default build-time variables. These values are overridden via ldflags

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 NewAddTokenCommand

func NewAddTokenCommand() *cobra.Command

NewAddTokenCommand returns a command that adds a new cache token

func NewListArtifactsCommand

func NewListArtifactsCommand() *cobra.Command

NewListArtifactsCommand returns a command that lists all rules in the project

func NewListComponentsCommand

func NewListComponentsCommand() *cobra.Command

NewListComponentsCommand returns a command that lists all components in the project

func NewListInputsCommand

func NewListInputsCommand() *cobra.Command

NewListInputsCommand returns a command that lists all rules in the project

func NewListRulesCommand

func NewListRulesCommand() *cobra.Command

NewListRulesCommand returns a command that lists all rules in the project

func NewRunCommand

func NewRunCommand() *cobra.Command

NewRunCommand returns a scheduler command

func NewShowKeyCommand

func NewShowKeyCommand() *cobra.Command

NewShowKeyCommand returns a command that shows a cache key for a Rule

func XDGCache

func XDGCache() string

XDGCache returns the local cache directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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