File tree 1 file changed +6
-3
lines changed
packages/actor-core-cli/src/commands
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ export const create = new Command()
31
31
) . choices ( Object . keys ( PLATFORM_NAMES ) ) ,
32
32
)
33
33
. addOption ( new Option ( "-v [version]" , "Specify version of actor-core" ) )
34
+ . addOption ( new Option ( "--skip-install" , "Skip installing dependencies" ) )
34
35
. action ( async ( cmdPath , opts ) => {
35
36
await workflow (
36
37
"Bootstrap Actor Core in your project" ,
@@ -153,9 +154,11 @@ export const create = new Command()
153
154
}
154
155
} ) ;
155
156
156
- yield * ctx . task ( "Install dependencies" , async ( ) => {
157
- await $ ( { cwd : wd } ) ( ...platformOptions . cmds . install ) ;
158
- } ) ;
157
+ if ( ! opts . skipInstall ) {
158
+ yield * ctx . task ( "Install dependencies" , async ( ) => {
159
+ await $ ( { cwd : wd } ) ( ...platformOptions . cmds . install ) ;
160
+ } ) ;
161
+ }
159
162
160
163
yield ctx . render (
161
164
< >
You can’t perform that action at this time.
0 commit comments