cli

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Env = subcmd(Root, &cobra.Command{
	Use:     "env",
	Aliases: []string{"environment", "environments", "envs"},
	Short:   "Commands for working with environments",
})
View Source
var Root = &cobra.Command{
	Use:           "nametag",
	Short:         "Nametag command line interface",
	Version:       Version,
	SilenceUsage:  true,
	SilenceErrors: true,
}
View Source
var Version = strings.TrimSpace(string(versionBuf))

Functions

func GetAPIConfiguration

func GetAPIConfiguration(cmd *cobra.Command) (server string, authToken string, err error)

func NewAPIClient

func NewAPIClient(cmd *cobra.Command) (*api.ClientWithResponses, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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