File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
packages/smooth-core/src/cli Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,21 @@ function runCmd(command) {
126
126
} )
127
127
}
128
128
129
- program . command ( 'dev' ) . action ( ( ) => runCmd ( devCommand ) )
130
- program . command ( 'build' ) . action ( ( ) => runCmd ( buildCommand ) )
131
- program . command ( 'start' ) . action ( ( ) => runCmd ( startCommand ) )
129
+ program
130
+ . command ( 'dev' )
131
+ . description (
132
+ 'Starts the application in development mode (hot-code reloading, error reporting, etc)' ,
133
+ )
134
+ . action ( ( ) => runCmd ( devCommand ) )
135
+ program
136
+ . command ( 'build' )
137
+ . description ( 'Compiles the application for production deployment' )
138
+ . action ( ( ) => runCmd ( buildCommand ) )
139
+ program
140
+ . command ( 'start' )
141
+ . description (
142
+ 'Starts the application in production mode.\nThe application should be compiled with `smooth build` first.' ,
143
+ )
144
+ . action ( ( ) => runCmd ( startCommand ) )
132
145
133
146
program . parse ( process . argv )
You can’t perform that action at this time.
0 commit comments