github.com/terhitormanen/cmd@v1.1.4/model/command/new.go (about)

     1  package command
     2  
     3  type (
     4  	New struct {
     5  		ImportCommand
     6  		SkeletonPath string `short:"s" long:"skeleton" description:"Path to skeleton folder (Must exist on GO PATH)" required:"false"`
     7  		Package      string `short:"p" long:"package" description:"The package name, this becomes the repfix to the app name, if defined vendored is set to true" required:"false"`
     8  		NotVendored  bool   `long:"no-vendor" description:"True if project should not be configured with a go.mod, this requires you to have the project on the GOPATH, this is only compatible with go versions v1.12 or older"`
     9  		Run          bool   `short:"r" long:"run" description:"True if you want to run the application right away"`
    10  		Callback     func() error
    11  	}
    12  )