@adobe/aio-cli-plugin-app 10.0.0 → 10.0.2
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 +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/src/TemplatesCommand.js +4 -3
- package/src/commands/app/deploy.js +3 -2
- package/src/commands/app/init.js +4 -1
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/10.0.
|
|
74
|
+
_See code: [src/commands/app/index.js](https://github.com/adobe/aio-cli-plugin-app/blob/10.0.2/src/commands/app/index.js)_
|
|
75
75
|
|
|
76
76
|
## `aio app add`
|
|
77
77
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"10.0.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},"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},"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"]},"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},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Extension point(s) to implement","multiple":true,"exclusive":["template"]},"standalone-app":{"name":"standalone-app","type":"boolean","description":"Create a stand-alone application","allowNo":false,"exclusive":["template"]},"template":{"name":"template","type":"option","char":"t","description":"Specify a link to a template that will be installed","multiple":true},"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":["no-actions"]},"serve":{"name":"serve","type":"boolean","description":"[default: true] Start frontend server (experimental)","allowNo":true},"actions":{"name":"actions","type":"boolean","description":"[default: true] Run actions, defaults to true, to skip actions use --no-actions","allowNo":true},"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},"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},"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},"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 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},"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},"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},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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":"10.0.2","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},"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},"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"]},"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},"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},"extension":{"name":"extension","type":"option","char":"e","description":"Extension point(s) to implement","multiple":true,"exclusive":["template"]},"standalone-app":{"name":"standalone-app","type":"boolean","description":"Create a stand-alone application","allowNo":false,"exclusive":["template"]},"template":{"name":"template","type":"option","char":"t","description":"Specify a link to a template that will be installed","multiple":true},"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":["no-actions"]},"serve":{"name":"serve","type":"boolean","description":"[default: true] Start frontend server (experimental)","allowNo":true},"actions":{"name":"actions","type":"boolean","description":"[default: true] Run actions, defaults to true, to skip actions use --no-actions","allowNo":true},"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},"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},"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},"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 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},"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},"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},"install":{"name":"install","type":"boolean","description":"[default: true] Run npm installation after files are created","allowNo":true},"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
package/src/TemplatesCommand.js
CHANGED
|
@@ -53,18 +53,19 @@ class TemplatesCommand extends AddCommand {
|
|
|
53
53
|
* @returns {Array<string>} an array of selected template module name(s)
|
|
54
54
|
*/
|
|
55
55
|
async selectTemplates (searchCriteria, orderByCriteria, orgSupportedServices = undefined, templateRegistryConfig = {}) {
|
|
56
|
-
aioLogger.debug(
|
|
57
|
-
aioLogger.debug(
|
|
56
|
+
aioLogger.debug(`searchCriteria ${JSON.stringify(searchCriteria, null, 2)}`)
|
|
57
|
+
aioLogger.debug(`orderByCriteria ${JSON.stringify(orderByCriteria, null, 2)}`)
|
|
58
58
|
let supportedServiceCodes
|
|
59
59
|
if (orgSupportedServices) {
|
|
60
60
|
supportedServiceCodes = new Set(orgSupportedServices.map(s => s.code))
|
|
61
61
|
}
|
|
62
|
+
aioLogger.debug(`supportedServiceCodes ${JSON.stringify(supportedServiceCodes, null, 2)}`)
|
|
62
63
|
|
|
63
64
|
const spinner = ora()
|
|
64
65
|
spinner.start('Getting available templates')
|
|
65
66
|
|
|
66
67
|
const templateList = await this.getTemplates(searchCriteria, orderByCriteria, templateRegistryConfig)
|
|
67
|
-
aioLogger.debug(
|
|
68
|
+
aioLogger.debug(`templateList ${JSON.stringify(templateList, null, 2)}`)
|
|
68
69
|
spinner.succeed('Downloaded the list of templates')
|
|
69
70
|
|
|
70
71
|
if (templateList.length === 0) {
|
|
@@ -33,9 +33,10 @@ class Deploy extends BuildCommand {
|
|
|
33
33
|
const deployConfigs = this.getAppExtConfigs(flags)
|
|
34
34
|
const keys = Object.keys(deployConfigs)
|
|
35
35
|
const values = Object.values(deployConfigs)
|
|
36
|
+
const isStandaloneApp = (keys.length === 1 && keys[0] === 'application')
|
|
36
37
|
|
|
37
38
|
// if there are no extensions, then set publish to false
|
|
38
|
-
flags.publish = flags.publish && !
|
|
39
|
+
flags.publish = flags.publish && !isStandaloneApp
|
|
39
40
|
let libConsoleCLI
|
|
40
41
|
if (flags.publish) {
|
|
41
42
|
// force login at beginning (if required)
|
|
@@ -82,7 +83,7 @@ class Deploy extends BuildCommand {
|
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
// 2. Bail if workspace is production and application status is PUBLISHED, honor force-deploy
|
|
85
|
-
if (aioConfig?.project?.workspace?.name === 'Production' && !flags['force-deploy']) {
|
|
86
|
+
if (!isStandaloneApp && aioConfig?.project?.workspace?.name === 'Production' && !flags['force-deploy']) {
|
|
86
87
|
const extension = await this.getApplicationExtension(libConsoleCLI, aioConfig)
|
|
87
88
|
spinner.info(chalk.dim(JSON.stringify(extension)))
|
|
88
89
|
if (extension && extension.status === 'PUBLISHED') {
|
package/src/commands/app/init.js
CHANGED
|
@@ -250,7 +250,10 @@ class InitCommand extends TemplatesCommand {
|
|
|
250
250
|
|
|
251
251
|
switch (selection) {
|
|
252
252
|
case 'orgTemplates': {
|
|
253
|
-
const supportedServiceCodes = new Set(orgSupportedServices.map(
|
|
253
|
+
const supportedServiceCodes = new Set(orgSupportedServices.map((elem, index) => {
|
|
254
|
+
const operator = index > 0 ? '|' : '' // | symbol denotes an OR clause (only if it's not the first item)
|
|
255
|
+
return `${operator}${elem.code}`
|
|
256
|
+
}))
|
|
254
257
|
searchCriteria[TemplateRegistryAPI.SEARCH_CRITERIA_APIS] = Array.from(supportedServiceCodes)
|
|
255
258
|
}
|
|
256
259
|
break
|