adobe / aio-cli

Adobe I/O Extensible CLI
https://www.adobe.io
Apache License 2.0
77 stars 33 forks source link

Output action urls during run/dev #615

Open purplecabbage opened 4 months ago

purplecabbage commented 4 months ago

Developers report errors to us sometimes, and they are simply lacking information on what url to load to test their action code.

During run/dev we only output the frontend url, or if there is no frontend we actually do output the action urls ... we should not assume that whenever there is a frontend developers don't want to call the actions directly. We should just add this info to the output. Something like:

To view your local application:
  -> https://localhost:3000
To view your deployed application in the Experience Cloud shell:
  -> https://experience.adobe.com/?devMode=true#/custom-apps/?localDevUrl=https://localhost:3000
Web action urls:
dx-excshell-1/generic  - https://localhost:3000/api/v1/web/dx-excshell-1/generic
aiojbot commented 4 months ago

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-2981

aiojbot commented 2 months ago

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3070

aiojbot commented 2 months ago

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-3071