cmd

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2019 License: GPL-3.0, GPL-3.0-or-later Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Providers = map[string]map[string]interface{}{
	"youtube": providers.LoadYoutube(),
}

Providers is a map setup so that we can call functions dynamically for providers. e.g. Providers["youtube"]["config"].(func(string))("somestring")

Functions

func Execute

func Execute(version, commit, date string)

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 ProviderNames

func ProviderNames() []string

ProviderNames gets all available providers

Types

This section is empty.

Jump to

Keyboard shortcuts

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