Skip to content

Commit 9774a13

Browse files
fix module missing bug in init command
1 parent f6a7304 commit 9774a13

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ OPTIONS
106106
-s, --schema=schema (required) [default: templates] path to schema file
107107
```
108108

109-
_See code: [src/commands/autopilot/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/create.js)_
109+
_See code: [src/commands/autopilot/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/create.js)_
110110

111111
## `twilio autopilot:delete`
112112

@@ -122,7 +122,7 @@ OPTIONS
122122
--unique-name=unique-name assistant unique name
123123
```
124124

125-
_See code: [src/commands/autopilot/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/delete.js)_
125+
_See code: [src/commands/autopilot/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/delete.js)_
126126

127127
## `twilio autopilot:export`
128128

@@ -138,7 +138,7 @@ OPTIONS
138138
--unique-name=unique-name assistant unique name
139139
```
140140

141-
_See code: [src/commands/autopilot/export.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/export.js)_
141+
_See code: [src/commands/autopilot/export.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/export.js)_
142142

143143
## `twilio autopilot:list`
144144

@@ -154,7 +154,7 @@ OPTIONS
154154
https://www.twilio.com/docs/autopilot/api/assistant#assistant-properties
155155
```
156156

157-
_See code: [src/commands/autopilot/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/list.js)_
157+
_See code: [src/commands/autopilot/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/list.js)_
158158

159159
## `twilio autopilot:update`
160160

@@ -170,7 +170,7 @@ OPTIONS
170170
--unique-name=unique-name assistant unique name
171171
```
172172

173-
_See code: [src/commands/autopilot/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/update.js)_
173+
_See code: [src/commands/autopilot/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/update.js)_
174174

175175
## `twilio autopilot:fields:create`
176176

@@ -193,7 +193,7 @@ OPTIONS
193193
--unique-name=unique-name (required) field unique name
194194
```
195195

196-
_See code: [src/commands/autopilot/fields/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/fields/create.js)_
196+
_See code: [src/commands/autopilot/fields/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/fields/create.js)_
197197

198198
## `twilio autopilot:fields:delete`
199199

@@ -212,7 +212,7 @@ OPTIONS
212212
--task-sid=task-sid task sid
213213
```
214214

215-
_See code: [src/commands/autopilot/fields/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/fields/delete.js)_
215+
_See code: [src/commands/autopilot/fields/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/fields/delete.js)_
216216

217217
## `twilio autopilot:fields:list`
218218

@@ -230,7 +230,7 @@ OPTIONS
230230
--task-sid=task-sid task sid
231231
```
232232

233-
_See code: [src/commands/autopilot/fields/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/fields/list.js)_
233+
_See code: [src/commands/autopilot/fields/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/fields/list.js)_
234234

235235
## `twilio autopilot:fieldtypes:create`
236236

@@ -247,7 +247,7 @@ OPTIONS
247247
--unique-name=unique-name (required) unique name for the field type
248248
```
249249

250-
_See code: [src/commands/autopilot/fieldtypes/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/fieldtypes/create.js)_
250+
_See code: [src/commands/autopilot/fieldtypes/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/fieldtypes/create.js)_
251251

252252
## `twilio autopilot:fieldtypes:list`
253253

@@ -264,7 +264,7 @@ OPTIONS
264264
https://www.twilio.com/docs/autopilot/api/field-type#fieldtype-properties
265265
```
266266

267-
_See code: [src/commands/autopilot/fieldtypes/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/fieldtypes/list.js)_
267+
_See code: [src/commands/autopilot/fieldtypes/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/fieldtypes/list.js)_
268268

269269
## `twilio autopilot:fieldtypes:update`
270270

@@ -282,7 +282,7 @@ OPTIONS
282282
--unique-name=unique-name field unique name
283283
```
284284

285-
_See code: [src/commands/autopilot/fieldtypes/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/fieldtypes/update.js)_
285+
_See code: [src/commands/autopilot/fieldtypes/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/fieldtypes/update.js)_
286286

287287
## `twilio autopilot:fieldvalues:upload`
288288

@@ -299,7 +299,7 @@ OPTIONS
299299
--file-name=file-name (required) a CSV file of field values (one on each row with synonyms in columns)
300300
```
301301

302-
_See code: [src/commands/autopilot/fieldvalues/upload.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/fieldvalues/upload.js)_
302+
_See code: [src/commands/autopilot/fieldvalues/upload.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/fieldvalues/upload.js)_
303303

304304
## `twilio autopilot:tasks:create`
305305

@@ -316,7 +316,7 @@ OPTIONS
316316
--unique-name=unique-name (required) unique name for task
317317
```
318318

319-
_See code: [src/commands/autopilot/tasks/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/tasks/create.js)_
319+
_See code: [src/commands/autopilot/tasks/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/tasks/create.js)_
320320

321321
## `twilio autopilot:tasks:delete`
322322

@@ -332,7 +332,7 @@ OPTIONS
332332
--task-sid=task-sid task sid
333333
```
334334

335-
_See code: [src/commands/autopilot/tasks/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/tasks/delete.js)_
335+
_See code: [src/commands/autopilot/tasks/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/tasks/delete.js)_
336336

337337
## `twilio autopilot:tasks:list`
338338

@@ -349,7 +349,7 @@ OPTIONS
349349
https://www.twilio.com/docs/autopilot/api/task#task-properties
350350
```
351351

352-
_See code: [src/commands/autopilot/tasks/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/tasks/list.js)_
352+
_See code: [src/commands/autopilot/tasks/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/tasks/list.js)_
353353

354354
## `twilio autopilot:tasks:update`
355355

@@ -367,7 +367,7 @@ OPTIONS
367367
--unique-name=unique-name task unique name to update
368368
```
369369

370-
_See code: [src/commands/autopilot/tasks/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/tasks/update.js)_
370+
_See code: [src/commands/autopilot/tasks/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/tasks/update.js)_
371371

372372
## `twilio autopilot:samples:upload`
373373

@@ -384,7 +384,7 @@ OPTIONS
384384
--task-sid=task-sid task sid
385385
```
386386

387-
_See code: [src/commands/autopilot/samples/upload.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/samples/upload.js)_
387+
_See code: [src/commands/autopilot/samples/upload.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/samples/upload.js)_
388388

389389
## `twilio autopilot:import [TYPE]`
390390

@@ -411,7 +411,7 @@ DESCRIPTION
411411
-> twilio autopilot:import alexa --model <alexa-interaction-model-file> [--redirectURL <alexa-back-end-hanlder-url>]
412412
```
413413

414-
_See code: [src/commands/autopilot/import.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/import.js)_
414+
_See code: [src/commands/autopilot/import.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/import.js)_
415415

416416
## `twilio autopilot:webhooks:create`
417417

@@ -430,7 +430,7 @@ OPTIONS
430430
-w, --webhook-unique-name=webhook-unique-name (required) unique name for webhook
431431
```
432432

433-
_See code: [src/commands/autopilot/webhooks/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/webhooks/create.js)_
433+
_See code: [src/commands/autopilot/webhooks/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/webhooks/create.js)_
434434

435435
## `twilio autopilot:webhooks:delete`
436436

@@ -446,7 +446,7 @@ OPTIONS
446446
--webhook-sid=webhook-sid SID of the webhook to delete
447447
```
448448

449-
_See code: [src/commands/autopilot/webhooks/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/webhooks/delete.js)_
449+
_See code: [src/commands/autopilot/webhooks/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/webhooks/delete.js)_
450450

451451
## `twilio autopilot:webhooks:list`
452452

@@ -466,7 +466,7 @@ OPTIONS
466466
467467
```
468468

469-
_See code: [src/commands/autopilot/webhooks/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/webhooks/list.js)_
469+
_See code: [src/commands/autopilot/webhooks/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/webhooks/list.js)_
470470

471471
## `twilio autopilot:webhooks:update`
472472

@@ -486,7 +486,7 @@ OPTIONS
486486
--webhook-sid=webhook-sid SID of the webhook to update
487487
```
488488

489-
_See code: [src/commands/autopilot/webhooks/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/webhooks/update.js)_
489+
_See code: [src/commands/autopilot/webhooks/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/webhooks/update.js)_
490490

491491
## `twilio autopilot:modelbuilds:create`
492492

@@ -502,7 +502,7 @@ OPTIONS
502502
-u, --callbackURL=callbackURL URL to get notified of model build status
503503
```
504504

505-
_See code: [src/commands/autopilot/modelbuilds/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/modelbuilds/create.js)_
505+
_See code: [src/commands/autopilot/modelbuilds/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/modelbuilds/create.js)_
506506

507507
## `twilio autopilot:simulate`
508508

@@ -518,7 +518,7 @@ OPTIONS
518518
-t, --text=text (required) User text input
519519
```
520520

521-
_See code: [src/commands/autopilot/simulate.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/simulate.js)_
521+
_See code: [src/commands/autopilot/simulate.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/simulate.js)_
522522

523523
## `twilio autopilot:queries:export`
524524

@@ -534,7 +534,7 @@ OPTIONS
534534
-s, --assistant-sid=assistant-sid (required) assistant sid
535535
```
536536

537-
_See code: [src/commands/autopilot/queries/export.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.9/src/commands/autopilot/queries/export.js)_
537+
_See code: [src/commands/autopilot/queries/export.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-rc.10/src/commands/autopilot/queries/export.js)_
538538

539539
## `twilio help [COMMAND]`
540540

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dabblelab/plugin-autopilot",
33
"description": "Create, Update, Delete, List, Simulate, Import and Export Twilio Autopilot Assistant",
4-
"version": "1.0.0-rc.9",
4+
"version": "1.0.0-rc.10",
55
"author": "Steve Tingiris",
66
"bugs": "https://github.com/tingiris/twilio-cli-autopilot-plugin/issues",
77
"dependencies": {

src/lib/serverless/clone-template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const cloneTemplate = async(option, inquirer) => {
2222
function getTemplateMap(templateUrl) {
2323
let GIT_ENDPOINT = templateUrl;
2424
let headers = {};
25-
headers['User-Agent'] = 'twilio-autopilot-cli/' + require('@root/package.json').version +
25+
headers['User-Agent'] = 'twilio-autopilot-cli/' + require('../../../package.json').version +
2626
' Node/' + process.version;
2727
let params = {
2828
url: GIT_ENDPOINT,

0 commit comments

Comments
 (0)