@adobe/aio-cli-plugin-app 10.0.1 → 10.0.3
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 +11 -5
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
- package/src/TemplatesCommand.js +4 -3
- package/src/commands/app/deploy.js +2 -3
- package/src/commands/app/init.js +4 -1
- package/src/lib/run-dev.js +7 -0
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.3/src/commands/app/index.js)_
|
|
75
75
|
|
|
76
76
|
## `aio app add`
|
|
77
77
|
|
|
@@ -107,6 +107,7 @@ FLAGS
|
|
|
107
107
|
DESCRIPTION
|
|
108
108
|
Add new actions
|
|
109
109
|
|
|
110
|
+
|
|
110
111
|
ALIASES
|
|
111
112
|
$ aio app add actions
|
|
112
113
|
```
|
|
@@ -145,6 +146,7 @@ FLAGS
|
|
|
145
146
|
DESCRIPTION
|
|
146
147
|
Add a new Adobe I/O Events action
|
|
147
148
|
|
|
149
|
+
|
|
148
150
|
ALIASES
|
|
149
151
|
$ aio app add events
|
|
150
152
|
```
|
|
@@ -167,6 +169,7 @@ FLAGS
|
|
|
167
169
|
DESCRIPTION
|
|
168
170
|
Add new extensions to the project
|
|
169
171
|
|
|
172
|
+
|
|
170
173
|
ALIASES
|
|
171
174
|
$ aio app add ext
|
|
172
175
|
$ aio app add extensions
|
|
@@ -187,6 +190,7 @@ FLAGS
|
|
|
187
190
|
DESCRIPTION
|
|
188
191
|
Subscribe to Services in the current Workspace
|
|
189
192
|
|
|
193
|
+
|
|
190
194
|
ALIASES
|
|
191
195
|
$ aio app add services
|
|
192
196
|
```
|
|
@@ -292,6 +296,7 @@ FLAGS
|
|
|
292
296
|
DESCRIPTION
|
|
293
297
|
Delete existing actions
|
|
294
298
|
|
|
299
|
+
|
|
295
300
|
ALIASES
|
|
296
301
|
$ aio app delete actions
|
|
297
302
|
```
|
|
@@ -332,6 +337,7 @@ FLAGS
|
|
|
332
337
|
DESCRIPTION
|
|
333
338
|
Delete existing Adobe I/O Events actions
|
|
334
339
|
|
|
340
|
+
|
|
335
341
|
ALIASES
|
|
336
342
|
$ aio app delete events
|
|
337
343
|
```
|
|
@@ -354,6 +360,7 @@ FLAGS
|
|
|
354
360
|
DESCRIPTION
|
|
355
361
|
Delete existing extensions
|
|
356
362
|
|
|
363
|
+
|
|
357
364
|
ALIASES
|
|
358
365
|
$ aio app delete ext
|
|
359
366
|
$ aio app delete extensions
|
|
@@ -374,6 +381,7 @@ FLAGS
|
|
|
374
381
|
DESCRIPTION
|
|
375
382
|
Delete Services in the current Workspace
|
|
376
383
|
|
|
384
|
+
|
|
377
385
|
ALIASES
|
|
378
386
|
$ aio app delete services
|
|
379
387
|
```
|
|
@@ -402,7 +410,7 @@ Build and deploy an Adobe I/O App
|
|
|
402
410
|
```
|
|
403
411
|
USAGE
|
|
404
412
|
$ aio app deploy [-v] [--version] [--actions | -a <value>] [--web-assets] [--force-build | ] [--content-hash]
|
|
405
|
-
[--web-optimize] [-e <value> | ] [--build] [--open] [--force-deploy] [--force-publish | |
|
|
413
|
+
[--web-optimize] [-e <value> | ] [--build] [--open] [--force-deploy] [--force-publish | | --publish]
|
|
406
414
|
[--log-forwarding-update]
|
|
407
415
|
|
|
408
416
|
FLAGS
|
|
@@ -536,6 +544,7 @@ FLAGS
|
|
|
536
544
|
DESCRIPTION
|
|
537
545
|
List implemented extensions
|
|
538
546
|
|
|
547
|
+
|
|
539
548
|
ALIASES
|
|
540
549
|
$ aio app list ext
|
|
541
550
|
$ aio app list extensions
|
|
@@ -603,13 +612,10 @@ FLAGS
|
|
|
603
612
|
|
|
604
613
|
DESCRIPTION
|
|
605
614
|
Run tests for an Adobe I/O App
|
|
606
|
-
|
|
607
615
|
If no flags are specified, by default only unit-tests are run.
|
|
608
616
|
|
|
609
617
|
For the --action flag, it tries a substring search on the 'package-name/action-name' pair for an action.
|
|
610
|
-
|
|
611
618
|
For the --extension flag, it tries a substring search on the 'extension-name' only.
|
|
612
|
-
|
|
613
619
|
If the extension has a hook called 'test' in its 'ext.config.yaml', the script specified will be run instead.
|
|
614
620
|
```
|
|
615
621
|
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"10.0.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},"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.3","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",{"name":"publish"}]},"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},"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) {
|
|
@@ -280,7 +280,7 @@ Deploy.flags = {
|
|
|
280
280
|
action: Flags.string({
|
|
281
281
|
description: 'Deploy only a specific action, the flags can be specified multiple times, this will set --no-publish',
|
|
282
282
|
char: 'a',
|
|
283
|
-
exclusive: ['extension'],
|
|
283
|
+
exclusive: ['extension', { name: 'publish', when: async (flags) => flags.publish === true }],
|
|
284
284
|
multiple: true
|
|
285
285
|
}),
|
|
286
286
|
'web-assets': Flags.boolean({
|
|
@@ -317,8 +317,7 @@ Deploy.flags = {
|
|
|
317
317
|
publish: Flags.boolean({
|
|
318
318
|
description: '[default: true] Publish extension(s) to Exchange',
|
|
319
319
|
allowNo: true,
|
|
320
|
-
default: true
|
|
321
|
-
exclusive: ['action']
|
|
320
|
+
default: true
|
|
322
321
|
}),
|
|
323
322
|
'force-deploy': Flags.boolean({
|
|
324
323
|
description: '[default: false] Force deploy changes, regardless of production Workspace being published in Exchange.',
|
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
|
package/src/lib/run-dev.js
CHANGED
|
@@ -143,6 +143,13 @@ async function runDev (config, dataDir, options = {}, log = () => {}) {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
+
// if there is no frontEndUrl, this is because the hook serve-static was set
|
|
147
|
+
// since there is no way for us to know what serve-static does (to possibly get the front-end url from it),
|
|
148
|
+
// we treat this effectively as there is no front end, for the vscode config generator
|
|
149
|
+
if (!frontEndUrl) {
|
|
150
|
+
devConfig.app.hasFrontend = false
|
|
151
|
+
}
|
|
152
|
+
|
|
146
153
|
log('setting up vscode debug configuration files...')
|
|
147
154
|
const vscodeConfig = vscode(devConfig)
|
|
148
155
|
await vscodeConfig.update({ frontEndUrl })
|