@adobe/aio-cli-plugin-app 9.1.1 → 9.2.0
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 +6 -3
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/schema/config.schema.json +22 -2
- package/src/commands/app/deploy.js +25 -3
package/README.md
CHANGED
|
@@ -71,7 +71,7 @@ DESCRIPTION
|
|
|
71
71
|
Create, run, test, and deploy Adobe I/O Apps
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/9.
|
|
74
|
+
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/9.2.0/src/commands/app/index.js)_
|
|
75
75
|
|
|
76
76
|
## `aio app add`
|
|
77
77
|
|
|
@@ -410,7 +410,7 @@ Build and deploy an Adobe I/O App
|
|
|
410
410
|
USAGE
|
|
411
411
|
$ aio app deploy [-v] [--version] [--skip-static] [--skip-web-assets] [--skip-actions] [--actions | -a
|
|
412
412
|
<value>] [--web-assets] [--force-build | ] [--content-hash] [--web-optimize] [-e <value> | ] [--skip-build]
|
|
413
|
-
[--skip-deploy] [--build] [--open] [--force-publish | | [--publish | ]] [--log-forwarding-update]
|
|
413
|
+
[--skip-deploy] [--build] [--open] [--force-deploy] [--force-publish | | [--publish | ]] [--log-forwarding-update]
|
|
414
414
|
|
|
415
415
|
FLAGS
|
|
416
416
|
-a, --action=<value>... Deploy only a specific action, the flags can be specified multiple times, this will set
|
|
@@ -421,7 +421,10 @@ FLAGS
|
|
|
421
421
|
--[no-]build [default: true] Run the build phase before deployment
|
|
422
422
|
--[no-]content-hash [default: true] Enable content hashing in browser code
|
|
423
423
|
--[no-]force-build [default: true] Force a build even if one already exists
|
|
424
|
-
--force-
|
|
424
|
+
--force-deploy [default: false] Force deploy changes, regardless of production Workspace being
|
|
425
|
+
published in Exchange.
|
|
426
|
+
--force-publish [default: false] Force publish extension(s) to Exchange, delete previously published
|
|
427
|
+
extension points
|
|
425
428
|
--[no-]log-forwarding-update [default: true] Update log forwarding configuration on server
|
|
426
429
|
--open Open the default web browser after a successful deploy, only valid if your app has a
|
|
427
430
|
front-end
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"9.1.1","commands":{"app:build":{"id":"app:build","description":"Build an Adobe I/O App\n\nThis will always force a rebuild unless --no-force-build is set.\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Build actions if any","allowNo":true,"exclusive":["action"]},"action":{"name":"action","type":"option","char":"a","description":"Build only a specific action, the flags can be specified multiple times, this will set --no-publish","multiple":true,"exclusive":["extension"]},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Build web-assets if any","allowNo":true},"force-build":{"name":"force-build","type":"boolean","description":"[default: true] Force a build even if one already exists","allowNo":true},"content-hash":{"name":"content-hash","type":"boolean","description":"[default: true] Enable content hashing in browser code","allowNo":true},"web-optimize":{"name":"web-optimize","type":"boolean","description":"[default: false] Enable optimization (minification) of js/css/html","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Build only a specific extension point, the flags can be specified multiple times","multiple":true,"exclusive":["action"]}},"args":[]},"app:create":{"id":"app:create","description":"Create a new Adobe I/O App with default parameters\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"import":{"name":"import","type":"option","char":"i","description":"Import an Adobe I/O Developer Console configuration file","multiple":false}},"args":[{"name":"path","description":"Path to the app directory","default":"."}]},"app:deploy":{"id":"app:deploy","description":"Build and deploy an Adobe I/O App\n\nThis will always force a rebuild unless --no-force-build is set.\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Deploy actions if any","allowNo":true,"exclusive":["action"]},"action":{"name":"action","type":"option","char":"a","description":"Deploy only a specific action, the flags can be specified multiple times, this will set --no-publish","multiple":true,"exclusive":["extension"]},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Deploy web-assets if any","allowNo":true},"force-build":{"name":"force-build","type":"boolean","description":"[default: true] Force a build even if one already exists","allowNo":true,"exclusive":["no-build"]},"content-hash":{"name":"content-hash","type":"boolean","description":"[default: true] Enable content hashing in browser code","allowNo":true},"web-optimize":{"name":"web-optimize","type":"boolean","description":"[default: false] Enable optimization (minification) of web js/css/html","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Deploy only a specific extension, the flags can be specified multiple times","multiple":true,"exclusive":["action"]},"skip-build":{"name":"skip-build","type":"boolean","description":"[deprecated] Please use --no-build","allowNo":false},"skip-deploy":{"name":"skip-deploy","type":"boolean","description":"[deprecated] Please use 'aio app build'","allowNo":false},"build":{"name":"build","type":"boolean","description":"[default: true] Run the build phase before deployment","allowNo":true},"open":{"name":"open","type":"boolean","description":"Open the default web browser after a successful deploy, only valid if your app has a front-end","allowNo":false},"publish":{"name":"publish","type":"boolean","description":"[default: true] Publish extension(s) to Exchange","allowNo":true,"exclusive":["action"]},"force-publish":{"name":"force-publish","type":"boolean","description":"Force publish extension(s) to Exchange, delete previously published extension points","allowNo":false,"exclusive":["action","publish"]},"log-forwarding-update":{"name":"log-forwarding-update","type":"boolean","description":"[default: true] Update log forwarding configuration on server","allowNo":true}},"args":[]},"app:get-url":{"id":"app:get-url","description":"Get action URLs","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"cdn":{"name":"cdn","type":"boolean","description":"Display CDN based action URLs","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"hson":{"name":"hson","type":"boolean","char":"h","description":"Output human readable json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false},"local":{"name":"local","type":"boolean","description":"Display locally based action URLs","allowNo":false}},"args":[{"name":"action"}]},"app":{"id":"app","description":"Create, run, test, and deploy Adobe I/O Apps","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:info":{"id":"app:info","description":"Display settings/configuration in use by an Adobe I/O App\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false,"exclusive":["hson","yml"]},"hson":{"name":"hson","type":"boolean","char":"h","description":"Output human readable json","allowNo":false,"exclusive":["json","yml"]},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false,"exclusive":["hson","json"]},"mask":{"name":"mask","type":"boolean","description":"Hide known private info","allowNo":true}},"args":[]},"app:init":{"id":"app:init","description":"Create a new Adobe I/O App\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"import":{"name":"import","type":"option","char":"i","description":"Import an Adobe I/O Developer Console configuration file","multiple":false},"login":{"name":"login","type":"boolean","description":"Login using your Adobe ID for interacting with Adobe I/O Developer Console","allowNo":true},"extensions":{"name":"extensions","type":"boolean","description":"Use --no-extensions to create a blank application that does not integrate with Exchange","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Extension point(s) to implement","multiple":true,"exclusive":["extensions"]},"workspace":{"name":"workspace","type":"option","char":"w","description":"Specify the Adobe Developer Console Workspace to init from, defaults to Stage","multiple":false,"exclusive":["import"],"default":"Stage"},"confirm-new-workspace":{"name":"confirm-new-workspace","type":"boolean","description":"Skip and confirm prompt for creating a new workspace","allowNo":false}},"args":[{"name":"path","description":"Path to the app directory","default":"."}]},"app:logs":{"id":"app:logs","description":"Fetch logs for an Adobe I/O App\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"limit":{"name":"limit","type":"option","char":"l","description":"Limit number of activations to fetch logs from ( 1-50 )","multiple":false,"default":1},"action":{"name":"action","type":"option","char":"a","description":"Fetch logs for a specific action","multiple":true},"strip":{"name":"strip","type":"boolean","char":"r","description":"strip timestamp information and output first line only","allowNo":false},"tail":{"name":"tail","type":"boolean","char":"t","description":"Fetch logs continuously","allowNo":false,"exclusive":["watch","poll"]},"watch":{"name":"watch","type":"boolean","char":"w","description":"Fetch logs continuously","allowNo":false,"exclusive":["tail","poll"]},"poll":{"name":"poll","type":"boolean","char":"o","description":"Fetch logs continuously","allowNo":false,"exclusive":["watch","tail"]}},"args":[]},"app:run":{"id":"app:run","description":"Run an Adobe I/O App","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run/debug actions locally ( requires Docker running )","allowNo":false,"exclusive":["skip-actions"]},"serve":{"name":"serve","type":"boolean","description":"[default: true] Start frontend server (experimental)","allowNo":true},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false,"exclusive":["local"]},"actions":{"name":"actions","type":"boolean","description":"[default: true] Run actions, defaults to true, to skip actions use --no-actions","allowNo":true,"exclusive":["local"]},"open":{"name":"open","type":"boolean","description":"Open the default web browser after a successful run, only valid if your app has a front-end","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Run only a specific extension, this flag can only be specified once","multiple":false}},"args":[]},"app:test":{"id":"app:test","description":"Run tests for an Adobe I/O App\nIf no flags are specified, by default only unit-tests are run.\n\nFor the --action flag, it tries a substring search on the 'package-name/action-name' pair for an action.\nFor the --extension flag, it tries a substring search on the 'extension-name' only.\nIf the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.\n\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"the extension(s) to test","multiple":true,"exclusive":["action"]},"action":{"name":"action","type":"option","char":"a","description":"the action(s) to test","multiple":true,"exclusive":["extension"]},"all":{"name":"all","type":"boolean","description":"run both unit and e2e tests","allowNo":false},"e2e":{"name":"e2e","type":"boolean","description":"run e2e tests","allowNo":false},"unit":{"name":"unit","type":"boolean","description":"run unit tests","allowNo":false}},"args":[]},"app:undeploy":{"id":"app:undeploy","description":"Undeploys an Adobe I/O App\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Undeploy actions if any","allowNo":true},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Undeploy web-assets if any","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Undeploy only a specific extension, the flags can be specified multiple times","multiple":true},"unpublish":{"name":"unpublish","type":"boolean","description":"[default: true] Unpublish selected extension(s) from Exchange","allowNo":true},"force-unpublish":{"name":"force-unpublish","type":"boolean","description":"Force unpublish extension(s) from Exchange, will delete all extension points","allowNo":false,"exclusive":["unpublish"]}},"args":[]},"app:use":{"id":"app:use","description":"Import an Adobe Developer Console configuration file.\n\nIf the optional configuration file is not set, this command will retrieve the console org, project, and workspace settings from the global config.\n\nTo set these global config values, see the help text for 'aio console --help'.\n\nTo download the configuration file for your project, select the 'Download' button in the toolbar of your project's page in https://console.adobe.io\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"overwrite":{"name":"overwrite","type":"boolean","description":"Overwrite any .aio and .env files during import of the Adobe Developer Console configuration file","allowNo":false,"exclusive":["merge"]},"merge":{"name":"merge","type":"boolean","description":"Merge any .aio and .env files during import of the Adobe Developer Console configuration file","allowNo":false,"exclusive":["overwrite"]},"global":{"name":"global","type":"boolean","char":"g","description":"Use the global Adobe Developer Console Org / Project / Workspace configuration, which can be set via `aio console` commands","allowNo":false,"exclusive":["workspace"]},"workspace":{"name":"workspace","type":"option","char":"w","description":"Specify the Adobe Developer Console Workspace name or Workspace id to import the configuration from","multiple":false,"exclusive":["global","workspace-name"],"default":""},"confirm-new-workspace":{"name":"confirm-new-workspace","type":"boolean","description":"Skip and confirm prompt for creating a new workspace","allowNo":false},"workspace-name":{"name":"workspace-name","type":"option","char":"w","description":"[DEPRECATED]: please use --workspace instead","multiple":false,"exclusive":["global","workspace"],"default":""},"no-service-sync":{"name":"no-service-sync","type":"boolean","description":"Skip the Service sync prompt and do not attach current Service subscriptions to the new Workspace","allowNo":false,"exclusive":["confirm-service-sync"]},"confirm-service-sync":{"name":"confirm-service-sync","type":"boolean","description":"Skip the Service sync prompt and overwrite Service subscriptions in the new Workspace with current subscriptions","allowNo":false,"exclusive":["no-service-sync"]},"no-input":{"name":"no-input","type":"boolean","description":"Skip user prompts by setting --no-service-sync and --merge. Requires one of config_file_path or --global or --workspace","allowNo":false}},"args":[{"name":"config_file_path","description":"path to an Adobe I/O Developer Console configuration file","required":false}]},"app:add:action":{"id":"app:add:action","description":"Add new actions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:actions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension","multiple":false}},"args":[]},"app:add:ci":{"id":"app:add:ci","description":"Add CI files\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:event":{"id":"app:add:event","description":"Add a new Adobe I/O Events action\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:events"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension","multiple":false}},"args":[]},"app:add:extension":{"id":"app:add:extension","description":"Add new extensions or a standalone application to the project\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:ext","app:add:extensions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to add, skips selection prompt","multiple":true}},"args":[]},"app:add":{"id":"app:add","description":"Add a new component to an existing Adobe I/O App","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:service":{"id":"app:add:service","description":"Subscribe to Services in the current Workspace\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:services"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:web-assets":{"id":"app:add:web-assets","description":"Add web assets support\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add web-assets to a specific extension","multiple":false}},"args":[]},"app:config":{"id":"app:config","description":"Manage app config","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config","app:config"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:action":{"id":"app:delete:action","description":"Delete existing actions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:actions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false}},"args":[{"name":"action-name","description":"Action `pkg/name` to delete, you can specify multiple actions via a comma separated list","required":false,"default":""}]},"app:delete:ci":{"id":"app:delete:ci","description":"Delete existing CI files\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false}},"args":[]},"app:delete:event":{"id":"app:delete:event","description":"Delete existing Adobe I/O Events actions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:events"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false}},"args":[{"name":"event-action-name","description":"Action `pkg/name` to delete, you can specify multiple actions via a comma separated list","required":false}]},"app:delete:extension":{"id":"app:delete:extension","description":"Delete existing extensions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:ext","app:delete:extensions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to delete, skips selection prompt","multiple":true}},"args":[]},"app:delete":{"id":"app:delete","description":"Delete a component from an existing Adobe I/O App","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:service":{"id":"app:delete:service","description":"Delete Services in the current Workspace\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:services"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:web-assets":{"id":"app:delete:web-assets","description":"Delete existing web assets\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false}},"args":[]},"app:list:extension-points":{"id":"app:list:extension-points","description":"List all extension points for the selected org\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:list:ext-points","app:list:extension-points"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[]},"app:list:extension":{"id":"app:list:extension","description":"List implemented extensions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:list:ext","app:list:extensions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[]},"app:list":{"id":"app:list","description":"List components for Adobe I/O App","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:get":{"id":"app:config:get","description":"Get app config","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:get:log-forwarding":{"id":"app:config:get:log-forwarding","description":"Get log forwarding destination configuration","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get:log-forwarding","app:config:get:lf"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:set":{"id":"app:config:set","description":"Set app config","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:set"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:set:log-forwarding":{"id":"app:config:set:log-forwarding","description":"Set log forwarding destination configuration","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:set:log-forwarding","app:config:set:lf"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:get:log-forwarding:errors":{"id":"app:config:get:log-forwarding:errors","description":"Get log forwarding errors","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get:log-forwarding:errors","app:config:get:lf:errors"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]}}}
|
|
1
|
+
{"version":"9.2.0","commands":{"app:build":{"id":"app:build","description":"Build an Adobe I/O App\n\nThis will always force a rebuild unless --no-force-build is set.\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Build actions if any","allowNo":true,"exclusive":["action"]},"action":{"name":"action","type":"option","char":"a","description":"Build only a specific action, the flags can be specified multiple times, this will set --no-publish","multiple":true,"exclusive":["extension"]},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Build web-assets if any","allowNo":true},"force-build":{"name":"force-build","type":"boolean","description":"[default: true] Force a build even if one already exists","allowNo":true},"content-hash":{"name":"content-hash","type":"boolean","description":"[default: true] Enable content hashing in browser code","allowNo":true},"web-optimize":{"name":"web-optimize","type":"boolean","description":"[default: false] Enable optimization (minification) of js/css/html","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Build only a specific extension point, the flags can be specified multiple times","multiple":true,"exclusive":["action"]}},"args":[]},"app:create":{"id":"app:create","description":"Create a new Adobe I/O App with default parameters\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"import":{"name":"import","type":"option","char":"i","description":"Import an Adobe I/O Developer Console configuration file","multiple":false}},"args":[{"name":"path","description":"Path to the app directory","default":"."}]},"app:deploy":{"id":"app:deploy","description":"Build and deploy an Adobe I/O App\n\nThis will always force a rebuild unless --no-force-build is set.\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Deploy actions if any","allowNo":true,"exclusive":["action"]},"action":{"name":"action","type":"option","char":"a","description":"Deploy only a specific action, the flags can be specified multiple times, this will set --no-publish","multiple":true,"exclusive":["extension"]},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Deploy web-assets if any","allowNo":true},"force-build":{"name":"force-build","type":"boolean","description":"[default: true] Force a build even if one already exists","allowNo":true,"exclusive":["no-build"]},"content-hash":{"name":"content-hash","type":"boolean","description":"[default: true] Enable content hashing in browser code","allowNo":true},"web-optimize":{"name":"web-optimize","type":"boolean","description":"[default: false] Enable optimization (minification) of web js/css/html","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Deploy only a specific extension, the flags can be specified multiple times","multiple":true,"exclusive":["action"]},"skip-build":{"name":"skip-build","type":"boolean","description":"[deprecated] Please use --no-build","allowNo":false},"skip-deploy":{"name":"skip-deploy","type":"boolean","description":"[deprecated] Please use 'aio app build'","allowNo":false},"build":{"name":"build","type":"boolean","description":"[default: true] Run the build phase before deployment","allowNo":true},"open":{"name":"open","type":"boolean","description":"Open the default web browser after a successful deploy, only valid if your app has a front-end","allowNo":false},"publish":{"name":"publish","type":"boolean","description":"[default: true] Publish extension(s) to Exchange","allowNo":true,"exclusive":["action"]},"force-deploy":{"name":"force-deploy","type":"boolean","description":"[default: false] Force deploy changes, regardless of production Workspace being published in Exchange.","allowNo":false},"force-publish":{"name":"force-publish","type":"boolean","description":"[default: false] Force publish extension(s) to Exchange, delete previously published extension points","allowNo":false,"exclusive":["action","publish"]},"log-forwarding-update":{"name":"log-forwarding-update","type":"boolean","description":"[default: true] Update log forwarding configuration on server","allowNo":true}},"args":[]},"app:get-url":{"id":"app:get-url","description":"Get action URLs","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"cdn":{"name":"cdn","type":"boolean","description":"Display CDN based action URLs","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"hson":{"name":"hson","type":"boolean","char":"h","description":"Output human readable json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false},"local":{"name":"local","type":"boolean","description":"Display locally based action URLs","allowNo":false}},"args":[{"name":"action"}]},"app":{"id":"app","description":"Create, run, test, and deploy Adobe I/O Apps","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:info":{"id":"app:info","description":"Display settings/configuration in use by an Adobe I/O App\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false,"exclusive":["hson","yml"]},"hson":{"name":"hson","type":"boolean","char":"h","description":"Output human readable json","allowNo":false,"exclusive":["json","yml"]},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false,"exclusive":["hson","json"]},"mask":{"name":"mask","type":"boolean","description":"Hide known private info","allowNo":true}},"args":[]},"app:init":{"id":"app:init","description":"Create a new Adobe I/O App\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"import":{"name":"import","type":"option","char":"i","description":"Import an Adobe I/O Developer Console configuration file","multiple":false},"login":{"name":"login","type":"boolean","description":"Login using your Adobe ID for interacting with Adobe I/O Developer Console","allowNo":true},"extensions":{"name":"extensions","type":"boolean","description":"Use --no-extensions to create a blank application that does not integrate with Exchange","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Extension point(s) to implement","multiple":true,"exclusive":["extensions"]},"workspace":{"name":"workspace","type":"option","char":"w","description":"Specify the Adobe Developer Console Workspace to init from, defaults to Stage","multiple":false,"exclusive":["import"],"default":"Stage"},"confirm-new-workspace":{"name":"confirm-new-workspace","type":"boolean","description":"Skip and confirm prompt for creating a new workspace","allowNo":false}},"args":[{"name":"path","description":"Path to the app directory","default":"."}]},"app:logs":{"id":"app:logs","description":"Fetch logs for an Adobe I/O App\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"limit":{"name":"limit","type":"option","char":"l","description":"Limit number of activations to fetch logs from ( 1-50 )","multiple":false,"default":1},"action":{"name":"action","type":"option","char":"a","description":"Fetch logs for a specific action","multiple":true},"strip":{"name":"strip","type":"boolean","char":"r","description":"strip timestamp information and output first line only","allowNo":false},"tail":{"name":"tail","type":"boolean","char":"t","description":"Fetch logs continuously","allowNo":false,"exclusive":["watch","poll"]},"watch":{"name":"watch","type":"boolean","char":"w","description":"Fetch logs continuously","allowNo":false,"exclusive":["tail","poll"]},"poll":{"name":"poll","type":"boolean","char":"o","description":"Fetch logs continuously","allowNo":false,"exclusive":["watch","tail"]}},"args":[]},"app:run":{"id":"app:run","description":"Run an Adobe I/O App","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"local":{"name":"local","type":"boolean","description":"Run/debug actions locally ( requires Docker running )","allowNo":false,"exclusive":["skip-actions"]},"serve":{"name":"serve","type":"boolean","description":"[default: true] Start frontend server (experimental)","allowNo":true},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false,"exclusive":["local"]},"actions":{"name":"actions","type":"boolean","description":"[default: true] Run actions, defaults to true, to skip actions use --no-actions","allowNo":true,"exclusive":["local"]},"open":{"name":"open","type":"boolean","description":"Open the default web browser after a successful run, only valid if your app has a front-end","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Run only a specific extension, this flag can only be specified once","multiple":false}},"args":[]},"app:test":{"id":"app:test","description":"Run tests for an Adobe I/O App\nIf no flags are specified, by default only unit-tests are run.\n\nFor the --action flag, it tries a substring search on the 'package-name/action-name' pair for an action.\nFor the --extension flag, it tries a substring search on the 'extension-name' only.\nIf the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.\n\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"the extension(s) to test","multiple":true,"exclusive":["action"]},"action":{"name":"action","type":"option","char":"a","description":"the action(s) to test","multiple":true,"exclusive":["extension"]},"all":{"name":"all","type":"boolean","description":"run both unit and e2e tests","allowNo":false},"e2e":{"name":"e2e","type":"boolean","description":"run e2e tests","allowNo":false},"unit":{"name":"unit","type":"boolean","description":"run unit tests","allowNo":false}},"args":[]},"app:undeploy":{"id":"app:undeploy","description":"Undeploys an Adobe I/O App\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-static":{"name":"skip-static","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-web-assets":{"name":"skip-web-assets","type":"boolean","description":"[deprecated] Please use --no-web-assets","allowNo":false},"skip-actions":{"name":"skip-actions","type":"boolean","description":"[deprecated] Please use --no-actions","allowNo":false},"actions":{"name":"actions","type":"boolean","description":"[default: true] Undeploy actions if any","allowNo":true},"web-assets":{"name":"web-assets","type":"boolean","description":"[default: true] Undeploy web-assets if any","allowNo":true},"extension":{"name":"extension","type":"option","char":"e","description":"Undeploy only a specific extension, the flags can be specified multiple times","multiple":true},"unpublish":{"name":"unpublish","type":"boolean","description":"[default: true] Unpublish selected extension(s) from Exchange","allowNo":true},"force-unpublish":{"name":"force-unpublish","type":"boolean","description":"Force unpublish extension(s) from Exchange, will delete all extension points","allowNo":false,"exclusive":["unpublish"]}},"args":[]},"app:use":{"id":"app:use","description":"Import an Adobe Developer Console configuration file.\n\nIf the optional configuration file is not set, this command will retrieve the console org, project, and workspace settings from the global config.\n\nTo set these global config values, see the help text for 'aio console --help'.\n\nTo download the configuration file for your project, select the 'Download' button in the toolbar of your project's page in https://console.adobe.io\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"overwrite":{"name":"overwrite","type":"boolean","description":"Overwrite any .aio and .env files during import of the Adobe Developer Console configuration file","allowNo":false,"exclusive":["merge"]},"merge":{"name":"merge","type":"boolean","description":"Merge any .aio and .env files during import of the Adobe Developer Console configuration file","allowNo":false,"exclusive":["overwrite"]},"global":{"name":"global","type":"boolean","char":"g","description":"Use the global Adobe Developer Console Org / Project / Workspace configuration, which can be set via `aio console` commands","allowNo":false,"exclusive":["workspace"]},"workspace":{"name":"workspace","type":"option","char":"w","description":"Specify the Adobe Developer Console Workspace name or Workspace id to import the configuration from","multiple":false,"exclusive":["global","workspace-name"],"default":""},"confirm-new-workspace":{"name":"confirm-new-workspace","type":"boolean","description":"Skip and confirm prompt for creating a new workspace","allowNo":false},"workspace-name":{"name":"workspace-name","type":"option","char":"w","description":"[DEPRECATED]: please use --workspace instead","multiple":false,"exclusive":["global","workspace"],"default":""},"no-service-sync":{"name":"no-service-sync","type":"boolean","description":"Skip the Service sync prompt and do not attach current Service subscriptions to the new Workspace","allowNo":false,"exclusive":["confirm-service-sync"]},"confirm-service-sync":{"name":"confirm-service-sync","type":"boolean","description":"Skip the Service sync prompt and overwrite Service subscriptions in the new Workspace with current subscriptions","allowNo":false,"exclusive":["no-service-sync"]},"no-input":{"name":"no-input","type":"boolean","description":"Skip user prompts by setting --no-service-sync and --merge. Requires one of config_file_path or --global or --workspace","allowNo":false}},"args":[{"name":"config_file_path","description":"path to an Adobe I/O Developer Console configuration file","required":false}]},"app:add:action":{"id":"app:add:action","description":"Add new actions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:actions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension","multiple":false}},"args":[]},"app:add:ci":{"id":"app:add:ci","description":"Add CI files\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:event":{"id":"app:add:event","description":"Add a new Adobe I/O Events action\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:events"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add actions to a specific extension","multiple":false}},"args":[]},"app:add:extension":{"id":"app:add:extension","description":"Add new extensions or a standalone application to the project\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:ext","app:add:extensions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to add, skips selection prompt","multiple":true}},"args":[]},"app:add":{"id":"app:add","description":"Add a new component to an existing Adobe I/O App","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:service":{"id":"app:add:service","description":"Subscribe to Services in the current Workspace\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:add:services"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:add:web-assets":{"id":"app:add:web-assets","description":"Add web assets support\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","char":"s","description":"[deprecated] Please use --no-install","allowNo":false},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Add web-assets to a specific extension","multiple":false}},"args":[]},"app:config":{"id":"app:config","description":"Manage app config","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config","app:config"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:action":{"id":"app:delete:action","description":"Delete existing actions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:actions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false}},"args":[{"name":"action-name","description":"Action `pkg/name` to delete, you can specify multiple actions via a comma separated list","required":false,"default":""}]},"app:delete:ci":{"id":"app:delete:ci","description":"Delete existing CI files\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false}},"args":[]},"app:delete:event":{"id":"app:delete:event","description":"Delete existing Adobe I/O Events actions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:events"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false}},"args":[{"name":"event-action-name","description":"Action `pkg/name` to delete, you can specify multiple actions via a comma separated list","required":false}]},"app:delete:extension":{"id":"app:delete:extension","description":"Delete existing extensions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:ext","app:delete:extensions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false},"skip-install":{"name":"skip-install","type":"boolean","description":"Skip npm installation after files are created","allowNo":false},"extension":{"name":"extension","type":"option","char":"e","description":"Specify extensions to delete, skips selection prompt","multiple":true}},"args":[]},"app:delete":{"id":"app:delete","description":"Delete a component from an existing Adobe I/O App","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:service":{"id":"app:delete:service","description":"Delete Services in the current Workspace\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:delete:services"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:delete:web-assets":{"id":"app:delete:web-assets","description":"Delete existing web assets\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"yes":{"name":"yes","type":"boolean","char":"y","description":"Skip questions, and use all default values","allowNo":false}},"args":[]},"app:list:extension-points":{"id":"app:list:extension-points","description":"List all extension points for the selected org\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:list:ext-points","app:list:extension-points"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[]},"app:list:extension":{"id":"app:list:extension","description":"List implemented extensions\n","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:list:ext","app:list:extensions"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"Output json","allowNo":false},"yml":{"name":"yml","type":"boolean","char":"y","description":"Output yml","allowNo":false}},"args":[]},"app:list":{"id":"app:list","description":"List components for Adobe I/O App","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":[],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:get":{"id":"app:config:get","description":"Get app config","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:get:log-forwarding":{"id":"app:config:get:log-forwarding","description":"Get log forwarding destination configuration","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get:log-forwarding","app:config:get:lf"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:set":{"id":"app:config:set","description":"Set app config","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:set"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:set:log-forwarding":{"id":"app:config:set:log-forwarding","description":"Set log forwarding destination configuration","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:set:log-forwarding","app:config:set:lf"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]},"app:config:get:log-forwarding:errors":{"id":"app:config:get:log-forwarding:errors","description":"Get log forwarding errors","strict":true,"pluginName":"@adobe/aio-cli-plugin-app","pluginAlias":"@adobe/aio-cli-plugin-app","pluginType":"core","aliases":["app:config:get:log-forwarding:errors","app:config:get:lf:errors"],"flags":{"verbose":{"name":"verbose","type":"boolean","char":"v","description":"Verbose output","allowNo":false},"version":{"name":"version","type":"boolean","description":"Show version","allowNo":false}},"args":[]}}}
|
package/package.json
CHANGED
|
@@ -129,10 +129,12 @@
|
|
|
129
129
|
]
|
|
130
130
|
},
|
|
131
131
|
"jwt": { "$ref": "#/definitions/jwt" },
|
|
132
|
-
"api_key": { "$ref": "#/definitions/api_key" }
|
|
133
|
-
"oauth2": { "$ref": "#/definitions/oauth2" }
|
|
132
|
+
"api_key": { "$ref": "#/definitions/api_key" }
|
|
134
133
|
},
|
|
135
134
|
"required": [ "id", "name" ],
|
|
135
|
+
"if": { "properties": { "integration_type": { "const": "oauthsinglepageapp" } } },
|
|
136
|
+
"then": { "properties": { "oauth2": { "$ref": "#/definitions/oauthsinglepageapp" } } },
|
|
137
|
+
"else": { "properties": { "oauth2": { "$ref": "#/definitions/oauth2" } } },
|
|
136
138
|
"oneOf": [
|
|
137
139
|
{ "required": ["oauth2"] },
|
|
138
140
|
{ "required": ["jwt"] },
|
|
@@ -174,6 +176,24 @@
|
|
|
174
176
|
},
|
|
175
177
|
"required": [ "client_id", "client_secret", "redirect_uri", "defaultRedirectUri" ]
|
|
176
178
|
},
|
|
179
|
+
"oauthsinglepageapp": {
|
|
180
|
+
"type": "object",
|
|
181
|
+
"properties": {
|
|
182
|
+
"client_id": { "type": "string" },
|
|
183
|
+
"defaultRedirectUri": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"format": "uri"
|
|
186
|
+
},
|
|
187
|
+
"redirect_uri": {
|
|
188
|
+
"type": "array",
|
|
189
|
+
"items": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"format": "uri"
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
"required": [ "client_id", "redirect_uri", "defaultRedirectUri" ]
|
|
196
|
+
},
|
|
177
197
|
"api_key": {
|
|
178
198
|
"type": "object",
|
|
179
199
|
"properties": {
|
|
@@ -55,6 +55,7 @@ class Deploy extends BuildCommand {
|
|
|
55
55
|
|
|
56
56
|
try {
|
|
57
57
|
const aioConfig = this.getFullConfig().aio
|
|
58
|
+
|
|
58
59
|
// 1. update log forwarding configuration
|
|
59
60
|
// note: it is possible that .aio file does not exist, which means there is no local lg config
|
|
60
61
|
if (aioConfig &&
|
|
@@ -83,7 +84,18 @@ class Deploy extends BuildCommand {
|
|
|
83
84
|
throw error
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
+
|
|
88
|
+
// 2. Bail if workspace is production and application status is PUBLISHED, honor force-deploy
|
|
89
|
+
if (aioConfig.project.workspace.name === 'Production' && !flags['force-deploy']) {
|
|
90
|
+
const extension = await this.getApplicationExtension(libConsoleCLI, aioConfig)
|
|
91
|
+
spinner.info(chalk.dim(JSON.stringify(extension)))
|
|
92
|
+
if (extension && extension.status === 'PUBLISHED') {
|
|
93
|
+
spinner.info(chalk.red('This application is published and the current workspace is Production, deployment will be skipped. You must first retract this application in Adobe Exchange to deploy updates.'))
|
|
94
|
+
return
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
// 3. deploy actions and web assets for each extension
|
|
87
99
|
// Possible improvements:
|
|
88
100
|
// - parallelize
|
|
89
101
|
// - break into smaller pieces deploy, allowing to first deploy all actions then all web assets
|
|
@@ -93,7 +105,7 @@ class Deploy extends BuildCommand {
|
|
|
93
105
|
await this.deploySingleConfig(k, v, flags, spinner)
|
|
94
106
|
}
|
|
95
107
|
|
|
96
|
-
//
|
|
108
|
+
// 4. deploy extension manifest
|
|
97
109
|
if (flags.publish) {
|
|
98
110
|
const payload = await this.publishExtensionPoints(libConsoleCLI, deployConfigs, aioConfig, flags['force-publish'])
|
|
99
111
|
this.log(chalk.blue(chalk.bold(`New Extension Point(s) in Workspace '${aioConfig.project.workspace.name}': '${Object.keys(payload.endpoints)}'`)))
|
|
@@ -249,6 +261,12 @@ class Deploy extends BuildCommand {
|
|
|
249
261
|
newPayload = await libConsoleCLI.updateExtensionPointsWithoutOverwrites(aioConfig.project.org, aioConfig.project, aioConfig.project.workspace, payload)
|
|
250
262
|
return newPayload
|
|
251
263
|
}
|
|
264
|
+
|
|
265
|
+
async getApplicationExtension (libConsoleCLI, aioConfig) {
|
|
266
|
+
const { appId } = await libConsoleCLI.getProject(aioConfig.project.org.id, aioConfig.project.id)
|
|
267
|
+
const applicationExtensions = await libConsoleCLI.getApplicationExtensions(aioConfig.project.org.id, appId)
|
|
268
|
+
return applicationExtensions.find(extension => extension.appId === appId)
|
|
269
|
+
}
|
|
252
270
|
}
|
|
253
271
|
|
|
254
272
|
Deploy.description = `Build and deploy an Adobe I/O App
|
|
@@ -322,8 +340,12 @@ Deploy.flags = {
|
|
|
322
340
|
default: true,
|
|
323
341
|
exclusive: ['action']
|
|
324
342
|
}),
|
|
343
|
+
'force-deploy': Flags.boolean({
|
|
344
|
+
description: '[default: false] Force deploy changes, regardless of production Workspace being published in Exchange.',
|
|
345
|
+
default: false
|
|
346
|
+
}),
|
|
325
347
|
'force-publish': Flags.boolean({
|
|
326
|
-
description: 'Force publish extension(s) to Exchange, delete previously published extension points',
|
|
348
|
+
description: '[default: false] Force publish extension(s) to Exchange, delete previously published extension points',
|
|
327
349
|
default: false,
|
|
328
350
|
exclusive: ['action', 'publish'] // no-publish is excluded
|
|
329
351
|
}),
|