UNPKG

@twilio-labs/plugin-assets

Version:
372 lines 10.5 kB
{ "commands": { "assets:init": { "aliases": [], "args": {}, "description": "Create a new assets service to use as a bucket", "flags": { "cli-log-level": { "char": "l", "description": "Level of logging messages.", "helpLabel": "-l", "name": "cli-log-level", "default": "info", "hasDynamicHelp": false, "helpValue": "(debug|info|warn|error|none)", "multiple": false, "options": [ "debug", "info", "warn", "error", "none" ], "type": "option" }, "cli-output-format": { "char": "o", "description": "Format of command output.", "helpLabel": "-o", "name": "cli-output-format", "default": "columns", "hasDynamicHelp": false, "helpValue": "(columns|json|tsv|none)", "multiple": false, "options": [ "columns", "json", "tsv", "none" ], "type": "option" }, "silent": { "description": "Suppress output and logs. This is a shorthand for \"-l none -o none\".", "name": "silent", "allowNo": false, "type": "boolean" }, "profile": { "char": "p", "description": "Shorthand identifier for your profile.", "name": "profile", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "service-name": { "description": "A unique name for your asset service. May only contain alphanumeric characters and hyphens.", "name": "service-name", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "properties": { "description": "The asset service environment properties you would like to display (JSON output always shows all properties).", "name": "properties", "default": "service_sid, sid, domain_name", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "assets:init", "pluginAlias": "@twilio-labs/plugin-assets", "pluginName": "@twilio-labs/plugin-assets", "pluginType": "core", "strict": true, "parse": true, "parserOptions": {}, "accountSidFlag": { "account-sid": { "description": "Access resources for the specified account.", "input": [], "multiple": false, "type": "option" } }, "limitFlags": { "limit": { "description": "The maximum number of resources to return. Use '--no-limit' to disable.", "default": 50, "exclusive": [ "no-limit" ], "input": [], "multiple": false, "type": "option" }, "no-limit": { "default": false, "hidden": true, "exclusive": [ "limit" ], "allowNo": false, "type": "boolean" } }, "noHeader": { "no-header": { "description": "Skip including of headers while listing the data.", "allowNo": false, "type": "boolean" } }, "isESM": false, "relativePath": [ "src", "commands", "assets", "init.js" ] }, "assets:list": { "aliases": [], "args": {}, "description": "List all the assets in the service", "flags": { "cli-log-level": { "char": "l", "description": "Level of logging messages.", "helpLabel": "-l", "name": "cli-log-level", "default": "info", "hasDynamicHelp": false, "helpValue": "(debug|info|warn|error|none)", "multiple": false, "options": [ "debug", "info", "warn", "error", "none" ], "type": "option" }, "cli-output-format": { "char": "o", "description": "Format of command output.", "helpLabel": "-o", "name": "cli-output-format", "default": "columns", "hasDynamicHelp": false, "helpValue": "(columns|json|tsv|none)", "multiple": false, "options": [ "columns", "json", "tsv", "none" ], "type": "option" }, "silent": { "description": "Suppress output and logs. This is a shorthand for \"-l none -o none\".", "name": "silent", "allowNo": false, "type": "boolean" }, "profile": { "char": "p", "description": "Shorthand identifier for your profile.", "name": "profile", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "properties": { "description": "The asset properties you would like to display (JSON output always shows all properties).", "name": "properties", "default": "sid, path, url, visibility", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "assets:list", "pluginAlias": "@twilio-labs/plugin-assets", "pluginName": "@twilio-labs/plugin-assets", "pluginType": "core", "strict": true, "parse": true, "parserOptions": {}, "accountSidFlag": { "account-sid": { "description": "Access resources for the specified account.", "input": [], "multiple": false, "type": "option" } }, "limitFlags": { "limit": { "description": "The maximum number of resources to return. Use '--no-limit' to disable.", "default": 50, "exclusive": [ "no-limit" ], "input": [], "multiple": false, "type": "option" }, "no-limit": { "default": false, "hidden": true, "exclusive": [ "limit" ], "allowNo": false, "type": "boolean" } }, "noHeader": { "no-header": { "description": "Skip including of headers while listing the data.", "allowNo": false, "type": "boolean" } }, "isESM": false, "relativePath": [ "src", "commands", "assets", "list.js" ] }, "assets:upload": { "aliases": [], "args": { "file": { "description": "The path to the file you want to upload", "name": "file", "required": true } }, "description": "Upload a new asset to the Assets service", "flags": { "cli-log-level": { "char": "l", "description": "Level of logging messages.", "helpLabel": "-l", "name": "cli-log-level", "default": "info", "hasDynamicHelp": false, "helpValue": "(debug|info|warn|error|none)", "multiple": false, "options": [ "debug", "info", "warn", "error", "none" ], "type": "option" }, "cli-output-format": { "char": "o", "description": "Format of command output.", "helpLabel": "-o", "name": "cli-output-format", "default": "columns", "hasDynamicHelp": false, "helpValue": "(columns|json|tsv|none)", "multiple": false, "options": [ "columns", "json", "tsv", "none" ], "type": "option" }, "silent": { "description": "Suppress output and logs. This is a shorthand for \"-l none -o none\".", "name": "silent", "allowNo": false, "type": "boolean" }, "profile": { "char": "p", "description": "Shorthand identifier for your profile.", "name": "profile", "hasDynamicHelp": false, "multiple": false, "type": "option" }, "protected": { "description": "Sets the uploaded asset's visibility to 'protected'", "name": "protected", "allowNo": false, "type": "boolean" }, "properties": { "description": "The asset properties you would like to display (JSON output always shows all properties).", "name": "properties", "default": "sid, path, url, visibility", "hasDynamicHelp": false, "multiple": false, "type": "option" } }, "hasDynamicHelp": false, "hiddenAliases": [], "id": "assets:upload", "pluginAlias": "@twilio-labs/plugin-assets", "pluginName": "@twilio-labs/plugin-assets", "pluginType": "core", "strict": true, "parse": true, "parserOptions": {}, "accountSidFlag": { "account-sid": { "description": "Access resources for the specified account.", "input": [], "multiple": false, "type": "option" } }, "limitFlags": { "limit": { "description": "The maximum number of resources to return. Use '--no-limit' to disable.", "default": 50, "exclusive": [ "no-limit" ], "input": [], "multiple": false, "type": "option" }, "no-limit": { "default": false, "hidden": true, "exclusive": [ "limit" ], "allowNo": false, "type": "boolean" } }, "noHeader": { "no-header": { "description": "Skip including of headers while listing the data.", "allowNo": false, "type": "boolean" } }, "isESM": false, "relativePath": [ "src", "commands", "assets", "upload.js" ] } }, "version": "3.0.0" }