Documentation
¶
Index ¶
- Variables
- type AfterInitializer
- type Command
- func (d *Command) AppName(args []string) string
- func (d *Command) FindRoot() string
- func (d *Command) Flags() *pflag.FlagSet
- func (d Command) HelpText() string
- func (d Command) Name() string
- func (d Command) ParentName() string
- func (d *Command) ParseFlags(args []string)
- func (d *Command) Receive(plugins []core.Plugin)
- func (d *Command) Run(ctx context.Context, root string, args []string) error
- type Initializer
- type Options
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 { // AfterInitialize receives the context and the root folder where // the application is being initialized. AfterInitialize(context.Context, Options) 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) ParentName ¶
func (*Command) ParseFlags ¶
Click to show internal directories.
Click to hide internal directories.