This repository was archived by the owner on Feb 3, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +3
-91
lines changed Expand file tree Collapse file tree 4 files changed +3
-91
lines changed Original file line number Diff line number Diff line change 3333 "inquirer" : " ^6.2.2" ,
3434 "ora" : " ^3.2.0" ,
3535 "pkg-install" : " ^1.0.0" ,
36- "twilio-run" : " ^2.0.0-beta.12" ,
3736 "rimraf" : " ^2.6.3" ,
37+ "twilio-run" : " ^2.0.0-rc.4" ,
3838 "window-size" : " ^1.1.1" ,
3939 "wrap-ansi" : " ^6.0.0" ,
4040 "yargs" : " ^12.0.5"
Original file line number Diff line number Diff line change 11const yargs = require ( 'yargs' ) ;
2- const listTemplates = require ( './commands/list-templates' ) ;
32const DefaultCommand = require ( './command' ) ;
3+ const ListTemplateCommand = require ( 'twilio-run/dist/commands/list-templates' ) ;
44
55function cli ( cwd ) {
66 yargs . help ( ) ;
77 yargs . alias ( 'h' , 'help' ) ;
88 yargs . version ( ) ;
99 yargs . alias ( 'v' , 'version' ) ;
10-
1110 yargs . default ( 'path' , cwd ) ;
1211 yargs . usage ( DefaultCommand . describe ) ;
1312 yargs . command ( DefaultCommand ) ;
14- yargs . command ( {
15- command : 'list-templates' ,
16- desc : 'List the available templates you can create a project with.' ,
17- handler : argv => listTemplates ( argv )
18- } ) ;
19-
13+ yargs . command ( ListTemplateCommand ) ;
2014 return yargs ;
2115}
2216
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments