shared

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() (*viper.Viper, error)

Types

type Command

type Command interface {
	Execute(flags []string) error
}

type Plugin

type Plugin interface {
	Name() string
	Command() Command
}

func NewPlugin

func NewPlugin(name string, fn func() Command) Plugin

Jump to

Keyboard shortcuts

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