@twilio-labs/plugin-assets 1.2.6 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,6 +10,8 @@ The plugin creates a new Runtime Service which it then uses as a bucket to which
10
10
 
11
11
  For more information see the blog post [announcing the the Assets Plugin](https://www.twilio.com/blog/assets-plugin-twilio-cli) and an example of [how to upload audio files for your Studio IVR with the Assets Plugin](https://www.twilio.com/blog/upload-audio-files-studio-ivr-twilio-cli-assets-plugin).
12
12
 
13
+ > **Important**: This version requires Twilio CLI version 3.0 or newer. For Twilio CLI version 2.x you have to use plugin-assets version 1.2.6.
14
+
13
15
  <!-- toc -->
14
16
 
15
17
  <!-- tocstop -->
@@ -53,8 +55,6 @@ USAGE
53
55
  Create a new assets service to use as a bucket
54
56
 
55
57
  ```
56
- Create a new assets service to use as a bucket
57
-
58
58
  USAGE
59
59
  $ twilio assets:init
60
60
 
@@ -72,15 +72,13 @@ OPTIONS
72
72
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
73
73
  ```
74
74
 
75
- _See code: [src/commands/assets/init.js](https://github.com/twilio-labs/serverless-toolkit/blob/v1.2.6/src/commands/assets/init.js)_
75
+ _See code: [src/commands/assets/init.js](https://github.com/twilio-labs/serverless-toolkit/blob/v2.0.1/src/commands/assets/init.js)_
76
76
 
77
77
  ## `twilio assets:list`
78
78
 
79
79
  List all the assets in the service
80
80
 
81
81
  ```
82
- List all the assets in the service
83
-
84
82
  USAGE
85
83
  $ twilio assets:list
86
84
 
@@ -95,15 +93,13 @@ OPTIONS
95
93
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
96
94
  ```
97
95
 
98
- _See code: [src/commands/assets/list.js](https://github.com/twilio-labs/serverless-toolkit/blob/v1.2.6/src/commands/assets/list.js)_
96
+ _See code: [src/commands/assets/list.js](https://github.com/twilio-labs/serverless-toolkit/blob/v2.0.1/src/commands/assets/list.js)_
99
97
 
100
98
  ## `twilio assets:upload FILE`
101
99
 
102
100
  Upload a new asset to the Assets service
103
101
 
104
102
  ```
105
- Upload a new asset to the Assets service
106
-
107
103
  USAGE
108
104
  $ twilio assets:upload FILE
109
105
 
@@ -123,7 +119,7 @@ OPTIONS
123
119
  --silent Suppress output and logs. This is a shorthand for "-l none -o none".
124
120
  ```
125
121
 
126
- _See code: [src/commands/assets/upload.js](https://github.com/twilio-labs/serverless-toolkit/blob/v1.2.6/src/commands/assets/upload.js)_
122
+ _See code: [src/commands/assets/upload.js](https://github.com/twilio-labs/serverless-toolkit/blob/v2.0.1/src/commands/assets/upload.js)_
127
123
  <!-- commandsstop -->
128
124
 
129
125
  ## Contributing
@@ -1 +1 @@
1
- {"version":"1.2.6","commands":{"assets:init":{"id":"assets:init","description":"Create a new assets service to use as a bucket","pluginName":"@twilio-labs/plugin-assets","pluginType":"core","aliases":[],"flags":{"service-name":{"name":"service-name","type":"option","description":"A unique name for your asset service. May only contain alphanumeric characters and hyphens."},"properties":{"name":"properties","type":"option","description":"The asset service environment properties you would like to display (JSON output always shows all properties).","default":"service_sid, sid, domain_name"},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false}},"args":[]},"assets:list":{"id":"assets:list","description":"List all the assets in the service","pluginName":"@twilio-labs/plugin-assets","pluginType":"core","aliases":[],"flags":{"properties":{"name":"properties","type":"option","description":"The asset properties you would like to display (JSON output always shows all properties).","default":"sid, path, url, visibility"},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false}},"args":[]},"assets:upload":{"id":"assets:upload","description":"Upload a new asset to the Assets service","pluginName":"@twilio-labs/plugin-assets","pluginType":"core","aliases":[],"flags":{"protected":{"name":"protected","type":"boolean","description":"Sets the uploaded asset's visibility to 'protected'","allowNo":false},"properties":{"name":"properties","type":"option","description":"The asset properties you would like to display (JSON output always shows all properties).","default":"sid, path, url, visibility"},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false}},"args":[{"name":"file","description":"The path to the file you want to upload","required":true}]}}}
1
+ {"version":"2.0.1","commands":{"assets:init":{"id":"assets:init","description":"Create a new assets service to use as a bucket","pluginName":"@twilio-labs/plugin-assets","pluginType":"core","aliases":[],"flags":{"service-name":{"name":"service-name","type":"option","description":"A unique name for your asset service. May only contain alphanumeric characters and hyphens."},"properties":{"name":"properties","type":"option","description":"The asset service environment properties you would like to display (JSON output always shows all properties).","default":"service_sid, sid, domain_name"},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false}},"args":[]},"assets:list":{"id":"assets:list","description":"List all the assets in the service","pluginName":"@twilio-labs/plugin-assets","pluginType":"core","aliases":[],"flags":{"properties":{"name":"properties","type":"option","description":"The asset properties you would like to display (JSON output always shows all properties).","default":"sid, path, url, visibility"},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false}},"args":[]},"assets:upload":{"id":"assets:upload","description":"Upload a new asset to the Assets service","pluginName":"@twilio-labs/plugin-assets","pluginType":"core","aliases":[],"flags":{"protected":{"name":"protected","type":"boolean","description":"Sets the uploaded asset's visibility to 'protected'","allowNo":false},"properties":{"name":"properties","type":"option","description":"The asset properties you would like to display (JSON output always shows all properties).","default":"sid, path, url, visibility"},"profile":{"name":"profile","type":"option","char":"p","description":"Shorthand identifier for your profile."},"cli-log-level":{"name":"cli-log-level","type":"option","char":"l","description":"Level of logging messages.","helpLabel":"-l","helpValue":"(debug|info|warn|error|none)","options":["debug","info","warn","error","none"],"default":"info"},"cli-output-format":{"name":"cli-output-format","type":"option","char":"o","description":"Format of command output.","helpLabel":"-o","helpValue":"(columns|json|tsv|none)","options":["columns","json","tsv","none"],"default":"columns"},"silent":{"name":"silent","type":"boolean","description":"Suppress output and logs. This is a shorthand for \"-l none -o none\".","allowNo":false}},"args":[{"name":"file","description":"The path to the file you want to upload","required":true}]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@twilio-labs/plugin-assets",
3
3
  "description": "Easily upload assets to a Twilio Assets service",
4
- "version": "1.2.6",
4
+ "version": "2.0.1",
5
5
  "author": "Twilio Inc. <open-source@twilio.com> (https://www.twilio.com/labs)",
6
6
  "contributors": [
7
7
  "Phil Nash <philnash@twilio.com>"
@@ -9,8 +9,8 @@
9
9
  "dependencies": {
10
10
  "@oclif/command": "^1.5.19",
11
11
  "@oclif/config": "^1.13.3",
12
- "@twilio-labs/serverless-api": "^5.4.0",
13
- "@twilio/cli-core": "^5.22.0",
12
+ "@twilio-labs/serverless-api": "^5.4.2",
13
+ "@twilio/cli-core": "^6.0.0",
14
14
  "inquirer": "^8.0.0",
15
15
  "ora": "^5.4.0",
16
16
  "project-name-generator": "^2.1.9"
@@ -79,5 +79,5 @@
79
79
  "version": "oclif-dev readme && git add README.md",
80
80
  "test": "jest"
81
81
  },
82
- "gitHead": "37277085666b06237eb46ca0c4cc4fad7edeb207"
82
+ "gitHead": "fe6335d2629d1be8f0c83036db741eeb3b706420"
83
83
  }