Beispiel #1
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("main", "Generate application main skeleton")
	return &Command{BaseCommand: base}
}
Beispiel #2
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("js", "Generate javascript client module")
	return &Command{BaseCommand: base}
}
Beispiel #3
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("client", "Generate API client tool and package")
	return &Command{BaseCommand: base}
}
Beispiel #4
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("app", "Generate application code")
	return &Command{BaseCommand: base}
}
Beispiel #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}
}
Beispiel #6
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("gen", "Invoke third party generator")
	return &Command{BaseCommand: base}
}
Beispiel #7
0
// NewCommand instantiates a new command.
func NewCommand() *Command {
	base := codegen.NewBaseCommand("schema", "Generate application JSON schema controller")
	return &Command{BaseCommand: base}
}