cmd

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

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 ListTagsCmd = &cobra.Command{
	Use:   "list-tags [flags]",
	Short: "Lists current tags to objects in a decK file",
	Long: `Lists current tags to objects in a decK file.

The tags will be collected from all objects that match the selector expressions. If no
selectors are given, all Kong entities will be scanned.`,
	RunE: executeListTags,
	Args: cobra.NoArgs,
}
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()

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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