github.com/josephspurrier/go-swagger@v0.2.1-0.20221129144919-1f672a142a00/cmd/swagger/commands/initcmd.go (about) 1 package commands 2 3 import "github.com/go-swagger/go-swagger/cmd/swagger/commands/initcmd" 4 5 // InitCmd is a command namespace for initializing things like a swagger spec. 6 type InitCmd struct { 7 Model *initcmd.Spec `command:"spec"` 8 } 9 10 // Execute provides default empty implementation 11 func (i *InitCmd) Execute(args []string) error { 12 return nil 13 }