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