Documentation ¶
Index ¶
- type Config
- type Plugin
- func (p Plugin) Commands() []*cobra.Command
- func (p *Plugin) Configure(v *viper.Viper) error
- func (p *Plugin) Generate(personaDirectory string) (plugin.Generated, error)
- func (p Plugin) Name() string
- func (p Plugin) Render(personaName, personaDirectory string) string
- func (p Plugin) Setup(profileLocation string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func TestNewPlugin ¶
TestNewPlugin return a test utility function to instantiate a plugin instance with the specified afero.Fs instance.
func (*Plugin) Generate ¶
Generate a file in the bin plugin directory. Implements the Generator interface.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.