adobe / aio-cli-plugin-app

Create, Build and Deploy Cloud Native Applications
Apache License 2.0
19 stars 35 forks source link

`aio app run --local` should be more verbose by default #482

Open meryllblanchet opened 2 years ago

meryllblanchet commented 2 years ago

On success, aio app run --local output currently is:

   create .vscode/launch.json

No change to package.json was detected. No package manager install will be executed.
press CTRL+C to terminate dev environment

This is far too few information for end-users, especially when running headless apps locally. The aio app run --local --verbose should be fully output to the user terminal for better guidance and UX.

Workaround: run aio app run --local --verbose

elagun commented 2 years ago

Agreed. The verbose output could be the default. At least the information that the Docker image is being downloaded and OpenWhisk is started as well as the URL of the testing endpoint has to be output by default. In case of UI actions the testing URL (port 9080) are printed by default, for headless actions (enpoint on port 3233) no output of the URL is created, so the user can't know where to test the local app. This should be consistent for all actions. Moreover the documentation (https://www.adobe.io/project-firefly/docs/getting_started/first_app/#61-running-the-application) should state with which action you can expect which testing endpoint.

aiojbot commented 2 years ago

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

florind-ens commented 2 years ago

To get the actions URL while running locally, now you can use: aio app get-url --local.

Available once the PR gets merged.