Example #1
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("main", "Generate application main skeleton")
	return &Command{BaseCommand: base}
}
Example #2
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("js", "Generate javascript client module")
	return &Command{BaseCommand: base}
}
Example #3
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("client", "Generate API client tool and package")
	return &Command{BaseCommand: base}
}
Example #4
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("app", "Generate application code")
	return &Command{BaseCommand: base}
}
Example #5
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("swagger", "Generate swagger representation, see http://swagger.io")
	return &Command{BaseCommand: base}
}
Example #6
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("gen", "Invoke third party generator")
	return &Command{BaseCommand: base}
}
Example #7
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("schema", "Generate application JSON schema controller")
	return &Command{BaseCommand: base}
}