summaryrefslogtreecommitdiff
path: root/vendor/github.com/go-swagger/go-swagger/cmd/swagger/commands/initcmd.go
blob: 5f6b052974f407867729bc3a3f913864e5700cf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package commands

import "github.com/go-swagger/go-swagger/cmd/swagger/commands/initcmd"

// InitCmd is a command namespace for initializing things like a swagger spec.
type InitCmd struct {
	Model *initcmd.Spec `command:"spec"`
}

// Execute provides default empty implementation
func (i *InitCmd) Execute(_ []string) error {
	return nil
}