Skip to content
This repository was archived by the owner on Feb 3, 2022. It is now read-only.

Commit 4f8f17d

Browse files
committed
Removes list-templates implementation in favour of twilio-run
1 parent c118979 commit 4f8f17d

File tree

4 files changed

+3
-91
lines changed

4 files changed

+3
-91
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
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"

src/cli.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,16 @@
11
const yargs = require('yargs');
2-
const listTemplates = require('./commands/list-templates');
32
const DefaultCommand = require('./command');
3+
const ListTemplateCommand = require('twilio-run/dist/commands/list-templates');
44

55
function 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

src/commands/list-templates.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/list-templates.test.js

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)