cmd

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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

type Env

type Env struct {
	Auth             *config.APIAuthentication
	DBPath           string
	Svc              storage.Service
	ConfigFolderPath string
	ExcludedPaths    []string
	FallbackVersion  string
	Version          string
}

Env represents central resources and information the app uses.

Jump to

Keyboard shortcuts

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