Restructured command config

Removed go/build reference in clean
This commit is contained in:
notzippy@gmail.com
2020-04-26 11:07:06 -07:00
parent c1aee24445
commit 07d67846c1
10 changed files with 80 additions and 45 deletions

11
model/command/new.go Normal file
View File

@@ -0,0 +1,11 @@
package command
type (
New struct {
ImportCommand
SkeletonPath string `short:"s" long:"skeleton" description:"Path to skeleton folder (Must exist on GO PATH)" required:"false"`
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"`
NotVendored bool `short:"V" long:"vendor" description:"True if project should not be configured with a go.mod"`
Run bool `short:"r" long:"run" description:"True if you want to run the application right away"`
}
)