cmd

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: Apache-2.0 Imports: 48 Imported by: 0

Documentation

Overview

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Package cmd implements fyde-cli commands

Index

Constants

View Source
const (
	// ApplicationName is the user-facing name of the application
	ApplicationName = "fyde-cli"

	// ConfigFileName is the file name (not path, that's platform-dependent)
	// used for the config file
	ConfigFileName = "config.yaml"

	// ConfigFileEnvVar is the name of the environment variable used to override
	// the config file path
	ConfigFileEnvVar = "FYDE_CLI_CONFIG_FILE"

	// AuthFileName is the file name (not path, that's platform-dependent)
	// used for the auth file
	AuthFileName = "auth.yaml"

	// AuthFileEnvVar is the name of the environment variable used to override
	// the auth file path
	AuthFileEnvVar = "FYDE_CLI_AUTH_FILE"

	// ConfigVendorName is the vendor name used to select the default path for
	// configuration storage
	ConfigVendorName = "fyde"

	// ConfigApplicationName is the application name used to select the default
	// path for configuration storage
	ConfigApplicationName = "fyde-cli"

	// DefaultEndpoint is the default endpoint used by the client
	DefaultEndpoint = "enterprise.fyde.com"
)

Variables

This section is empty.

Functions

func Execute

func Execute(versionInfo *VersionInformation)

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 FydeAPIKeyAuth

func FydeAPIKeyAuth(accessToken, client, uid string) runtime.ClientAuthInfoWriter

FydeAPIKeyAuth provides an API key auth info writer

Types

type VersionInformation

type VersionInformation struct {
	GitCommit string
	BuildDate string
	GitState  string
	Version   string
}

VersionInformation contains version information, it's used to pass build info from the main package to this package

Jump to

Keyboard shortcuts

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