github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/cmd/swagger/commands/initcmd.go (about)

     1  package commands
     2  
     3  import "github.com/thetreep/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  }