github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/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 }