Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
meryllblanchet opened this issue Sep 27, 2021 · 3 comments
Open

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

meryllblanchet opened this issue Sep 27, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@meryllblanchet
Copy link
Contributor

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

@meryllblanchet meryllblanchet added the enhancement New feature or request label Sep 27, 2021
@elagun
Copy link

elagun commented Sep 27, 2021

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
Copy link
Collaborator

aiojbot commented Sep 28, 2021

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

@florind-ens
Copy link
Contributor

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

Available once the PR gets merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants