Skip to content

Commit fd6ba2b

Browse files
fix globby module issue
1 parent 906719c commit fd6ba2b

File tree

3 files changed

+37
-27
lines changed

3 files changed

+37
-27
lines changed

README.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ OPTIONS
8686
-s, --schema=schema (required) [default: templates] schema path
8787
```
8888

89-
_See code: [src\commands\autopilot\create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/create.js)_
89+
_See code: [src/commands/autopilot/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/create.js)_
9090

9191
## `twilio autopilot:delete`
9292

@@ -104,7 +104,7 @@ OPTIONS
104104
--uniqueName=uniqueName assistant uniqueName
105105
```
106106

107-
_See code: [src\commands\autopilot\delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/delete.js)_
107+
_See code: [src/commands/autopilot/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/delete.js)_
108108

109109
## `twilio autopilot:export`
110110

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

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

127127
## `twilio autopilot:fields:create`
128128

@@ -147,7 +147,7 @@ OPTIONS
147147
--uniqueName=uniqueName (required) field unique name
148148
```
149149

150-
_See code: [src\commands\autopilot\fields\create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/fields/create.js)_
150+
_See code: [src/commands/autopilot/fields/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/fields/create.js)_
151151

152152
## `twilio autopilot:fields:delete`
153153

@@ -170,7 +170,7 @@ OPTIONS
170170
--taskSid=taskSid task sid
171171
```
172172

173-
_See code: [src\commands\autopilot\fields\delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/fields/delete.js)_
173+
_See code: [src/commands/autopilot/fields/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/fields/delete.js)_
174174

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

@@ -189,7 +189,7 @@ OPTIONS
189189
--taskSid=taskSid task sid
190190
```
191191

192-
_See code: [src\commands\autopilot\fields\list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/fields/list.js)_
192+
_See code: [src/commands/autopilot/fields/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/fields/list.js)_
193193

194194
## `twilio autopilot:fieldtypes:create`
195195

@@ -208,7 +208,7 @@ OPTIONS
208208
--uniqueName=uniqueName (required) unique name for the field type
209209
```
210210

211-
_See code: [src\commands\autopilot\fieldtypes\create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/fieldtypes/create.js)_
211+
_See code: [src/commands/autopilot/fieldtypes/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/fieldtypes/create.js)_
212212

213213
## `twilio autopilot:fieldtypes:list`
214214

@@ -226,7 +226,7 @@ OPTIONS
226226
--properties=properties [default: sid, uniqueName] The Autopilot Assistant FieldType List.
227227
```
228228

229-
_See code: [src\commands\autopilot\fieldtypes\list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/fieldtypes/list.js)_
229+
_See code: [src/commands/autopilot/fieldtypes/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/fieldtypes/list.js)_
230230

231231
## `twilio autopilot:fieldtypes:update`
232232

@@ -246,7 +246,7 @@ OPTIONS
246246
--uniqueName=uniqueName field type unique name to update
247247
```
248248

249-
_See code: [src\commands\autopilot\fieldtypes\update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/fieldtypes/update.js)_
249+
_See code: [src/commands/autopilot/fieldtypes/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/fieldtypes/update.js)_
250250

251251
## `twilio autopilot:fieldvalues:upload`
252252

@@ -265,7 +265,7 @@ OPTIONS
265265
--fileName=fileName (required) a CSV file of field values (one on each row with synonyms in columns)
266266
```
267267

268-
_See code: [src\commands\autopilot\fieldvalues\upload.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/fieldvalues/upload.js)_
268+
_See code: [src/commands/autopilot/fieldvalues/upload.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/fieldvalues/upload.js)_
269269

270270
## `twilio autopilot:import [TYPE]`
271271

@@ -294,7 +294,7 @@ DESCRIPTION
294294
-> twilio autopilot:import alexa --model <alexa-interaction-model-file> [--redirectURL <alexa-back-end-hanlder-url>]
295295
```
296296

297-
_See code: [src\commands\autopilot\import.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/import.js)_
297+
_See code: [src/commands/autopilot/import.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/import.js)_
298298

299299
## `twilio autopilot:list`
300300

@@ -311,7 +311,7 @@ OPTIONS
311311
--properties=properties [default: sid, uniqueName, friendlyName] The Autopilot Assistant List.
312312
```
313313

314-
_See code: [src\commands\autopilot\list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/list.js)_
314+
_See code: [src/commands/autopilot/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/list.js)_
315315

316316
## `twilio autopilot:modelbuilds:create`
317317

@@ -329,7 +329,7 @@ OPTIONS
329329
-u, --callbackURL=callbackURL URL to get notified of model build status
330330
```
331331

332-
_See code: [src\commands\autopilot\modelbuilds\create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/modelbuilds/create.js)_
332+
_See code: [src/commands/autopilot/modelbuilds/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/modelbuilds/create.js)_
333333

334334
## `twilio autopilot:queries:export`
335335

@@ -347,7 +347,7 @@ OPTIONS
347347
-s, --assistantSid=assistantSid (required) assistant that owns the task
348348
```
349349

350-
_See code: [src\commands\autopilot\queries\export.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/queries/export.js)_
350+
_See code: [src/commands/autopilot/queries/export.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/queries/export.js)_
351351

352352
## `twilio autopilot:samples:upload`
353353

@@ -366,7 +366,7 @@ OPTIONS
366366
--taskSid=taskSid task sid
367367
```
368368

369-
_See code: [src\commands\autopilot\samples\upload.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/samples/upload.js)_
369+
_See code: [src/commands/autopilot/samples/upload.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/samples/upload.js)_
370370

371371
## `twilio autopilot:simulate`
372372

@@ -384,7 +384,7 @@ OPTIONS
384384
-t, --text=text (required) User text input
385385
```
386386

387-
_See code: [src\commands\autopilot\simulate.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/simulate.js)_
387+
_See code: [src/commands/autopilot/simulate.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/simulate.js)_
388388

389389
## `twilio autopilot:tasks:create`
390390

@@ -403,7 +403,7 @@ OPTIONS
403403
--uniqueName=uniqueName (required) unique name for task
404404
```
405405

406-
_See code: [src\commands\autopilot\tasks\create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/tasks/create.js)_
406+
_See code: [src/commands/autopilot/tasks/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/tasks/create.js)_
407407

408408
## `twilio autopilot:tasks:delete`
409409

@@ -421,7 +421,7 @@ OPTIONS
421421
--taskSid=taskSid task sid
422422
```
423423

424-
_See code: [src\commands\autopilot\tasks\delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/tasks/delete.js)_
424+
_See code: [src/commands/autopilot/tasks/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/tasks/delete.js)_
425425

426426
## `twilio autopilot:tasks:list`
427427

@@ -439,7 +439,7 @@ OPTIONS
439439
--properties=properties [default: sid, uniqueName, friendlyName] The Autopilot Assistant Task List.
440440
```
441441

442-
_See code: [src\commands\autopilot\tasks\list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/tasks/list.js)_
442+
_See code: [src/commands/autopilot/tasks/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/tasks/list.js)_
443443

444444
## `twilio autopilot:tasks:update`
445445

@@ -459,7 +459,7 @@ OPTIONS
459459
--uniqueName=uniqueName task unique name to update
460460
```
461461

462-
_See code: [src\commands\autopilot\tasks\update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/tasks/update.js)_
462+
_See code: [src/commands/autopilot/tasks/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/tasks/update.js)_
463463

464464
## `twilio autopilot:update`
465465

@@ -477,7 +477,7 @@ OPTIONS
477477
--uniqueName=uniqueName assistant uniqueName
478478
```
479479

480-
_See code: [src\commands\autopilot\update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/update.js)_
480+
_See code: [src/commands/autopilot/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/update.js)_
481481

482482
## `twilio autopilot:webhooks:create`
483483

@@ -498,7 +498,7 @@ OPTIONS
498498
-w, --webhookUniqueName=webhookUniqueName (required) unique name for webhook
499499
```
500500

501-
_See code: [src\commands\autopilot\webhooks\create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/webhooks/create.js)_
501+
_See code: [src/commands/autopilot/webhooks/create.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/webhooks/create.js)_
502502

503503
## `twilio autopilot:webhooks:delete`
504504

@@ -516,7 +516,7 @@ OPTIONS
516516
--webhookSid=webhookSid SID of the webhook to delete
517517
```
518518

519-
_See code: [src\commands\autopilot\webhooks\delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/webhooks/delete.js)_
519+
_See code: [src/commands/autopilot/webhooks/delete.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/webhooks/delete.js)_
520520

521521
## `twilio autopilot:webhooks:list`
522522

@@ -536,7 +536,7 @@ OPTIONS
536536
webhookMethod] The Autopilot Assistant Webhooks List.
537537
```
538538

539-
_See code: [src\commands\autopilot\webhooks\list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/webhooks/list.js)_
539+
_See code: [src/commands/autopilot/webhooks/list.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/webhooks/list.js)_
540540

541541
## `twilio autopilot:webhooks:update`
542542

@@ -558,7 +558,7 @@ OPTIONS
558558
--webhookSid=webhookSid SID of the webhook to update
559559
```
560560

561-
_See code: [src\commands\autopilot\webhooks\update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/master/src/commands/autopilot/webhooks/update.js)_
561+
_See code: [src/commands/autopilot/webhooks/update.js](https://github.com/tingiris/twilio-cli-autopilot-plugin/blob/v1.0.0-beta.10/src/commands/autopilot/webhooks/update.js)_
562562

563563
## `twilio help [COMMAND]`
564564

@@ -575,5 +575,5 @@ OPTIONS
575575
--all see all commands in CLI
576576
```
577577

578-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src\commands\help.ts)_
578+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.1/src/commands/help.ts)_
579579
<!-- commandsstop -->

package.json

Lines changed: 2 additions & 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-beta.9",
4+
"version": "1.0.0-beta.10",
55
"author": "Steve Tingiris",
66
"bugs": "https://github.com/tingiris/twilio-cli-autopilot-plugin/issues",
77
"dependencies": {
@@ -155,6 +155,7 @@
155155
"scripts": {
156156
"postpack": "rm -f oclif.manifest.json",
157157
"posttest": "eslint --ignore-path .gitignore . && npm audit",
158+
"prepack": "oclif-dev manifest && oclif-dev readme && node script.js",
158159
"test": "nyc mocha --forbid-only \"test/**/*.test.js\"",
159160
"version": "oclif-dev readme && git add README.md"
160161
}

script.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
const fs = require('fs-extra');
2+
const runScript = async() => {
3+
4+
let readme = await fs.readFile('README.md', 'utf8');
5+
readme = readme.replace(/\\/g, '/');
6+
await fs.outputFile('README.md', readme)
7+
}
8+
9+
runScript();

0 commit comments

Comments
 (0)