You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: model/command_config.go
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -47,31 +47,31 @@ type (
47
47
// The build command
48
48
Buildstruct {
49
49
TargetPathstring`short:"t" long:"target-path" description:"Path to target folder. Folder will be completely deleted if it exists" required:"true"`
50
-
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" `
50
+
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" required:"true"`
51
51
Modestring`short:"m" long:"run-mode" description:"The mode to run the application in"`
52
52
CopySourcebool`short:"s" long:"include-source" description:"Copy the source code as well"`
53
53
} `command:"build"`
54
54
// The run command
55
55
Runstruct {
56
-
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" `
56
+
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" required:"true"`
57
57
Modestring`short:"m" long:"run-mode" description:"The mode to run the application in"`
58
58
Portstring`short:"p" long:"port" description:"The port to listen"`
59
59
NoProxybool`short:"n" long:"no-proxy" description:"True if proxy server should not be started. This will only update the main and routes files on change"`
60
60
} `command:"run"`
61
61
// The package command
62
62
Packagestruct {
63
63
Modestring`short:"m" long:"run-mode" description:"The mode to run the application in"`
64
-
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" `
64
+
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" required:"true"`
65
65
CopySourcebool`short:"s" long:"include-source" description:"Copy the source code as well"`
66
66
} `command:"package"`
67
67
// The clean command
68
68
Cleanstruct {
69
-
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" `
69
+
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" required:"true"`
70
70
} `command:"clean"`
71
71
// The test command
72
72
Teststruct {
73
73
Modestring`short:"m" long:"run-mode" description:"The mode to run the application in"`
74
-
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" `
74
+
ImportPathstring`short:"a" long:"application-path" description:"Path to applicaiton folder" required:"true"`
0 commit comments