Documentation ¶
Index ¶
- Variables
- func Execute()
- func NewAddTokenCommand() *cobra.Command
- func NewListArtifactsCommand() *cobra.Command
- func NewListComponentsCommand() *cobra.Command
- func NewListInputsCommand() *cobra.Command
- func NewListRulesCommand() *cobra.Command
- func NewRunCommand() *cobra.Command
- func NewShowKeyCommand() *cobra.Command
- func XDGCache() string
Constants ¶
This section is empty.
Variables ¶
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 ¶
NewAddTokenCommand returns a command that adds a new cache token
func NewListArtifactsCommand ¶
NewListArtifactsCommand returns a command that lists all rules in the project
func NewListComponentsCommand ¶
NewListComponentsCommand returns a command that lists all components in the project
func NewListInputsCommand ¶
NewListInputsCommand returns a command that lists all rules in the project
func NewListRulesCommand ¶
NewListRulesCommand returns a command that lists all rules in the project
func NewShowKeyCommand ¶
NewShowKeyCommand returns a command that shows a cache key for a Rule
Types ¶
This section is empty.