Skip to content

daemon command should print to json the port used #1583

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

Closed
silvanocerza opened this issue Dec 7, 2021 · 0 comments · Fixed by #1585
Closed

daemon command should print to json the port used #1583

silvanocerza opened this issue Dec 7, 2021 · 0 comments · Fixed by #1585
Assignees
Labels
conclusion: resolved Issue was resolved topic: CLI Related to the command line interface topic: gRPC Related to the gRPC interface type: enhancement Proposed improvement

Comments

@silvanocerza
Copy link
Contributor

If the user starts the CLI in daemon mode setting --port or daemon.port config to 0 the OS will pick the first free port, the user as of now must parse plain text output to know which port has been picked.

We need to print to json this information if the user sets the --format json flag.

@silvanocerza silvanocerza added topic: CLI Related to the command line interface topic: gRPC Related to the gRPC interface type: enhancement Proposed improvement labels Dec 7, 2021
@silvanocerza silvanocerza self-assigned this Dec 7, 2021
@per1234 per1234 added the conclusion: resolved Issue was resolved label Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved topic: CLI Related to the command line interface topic: gRPC Related to the gRPC interface type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants