plugin

package
v1.3.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Command []string `yaml:"command,omitempty,flow"`
	Args    []string `yaml:"args,omitempty,flow"`
}

type Plugin

type Plugin struct {
	Name     string   `yaml:"name"`
	Init     *Command `yaml:"init,omitempty"`
	Generate *Command `yaml:"generate,omitempty"`
}

func New

func New(name string, init *Command, generate *Command) *Plugin

Jump to

Keyboard shortcuts

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