Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoNameProvided = errors.New("the name for the new app is needed")
Functions ¶
This section is empty.
Types ¶
type AfterInitializer ¶
type AfterInitializer interface {
// AfterInitializers may require to use the passed flags.
plugins.FlagParser
// AfterInitialize receives the context and the root folder where
// the application is being initialized.
AfterInitialize(context.Context, string, []string) error
}
AfterInitializer is intended to initialize applications, things that should happen at the end of the application creation process.
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
Command to generate New applications.
func (*Command) FolderName ¶
func (Command) ParentName ¶
type Initializer ¶
type Initializer interface {
// Initializers may require to use the passed flags.
plugins.FlagParser
// Initialize receives the context and the root folder where
// the application is being initialized.
Initialize(context.Context, string, []string) error
}
Initializer is intended to initialize applications, things like generating files or running commands.
Click to show internal directories.
Click to hide internal directories.