You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ kurtosis port print --format ip,protocol,number tired-knoll postgres postgresql
127.0.0.1postgresql://:64615
I can't think of a usecase where we'd want to out-of-order the elements (and if the user really wants to do it they can just inline two separate kurtosis port print calls in the same way
Desired behaviour
The elems to --format are order-independent:
$ kurtosis port print --format ip,protocol,number tired-knoll postgres postgresql
postgresql://127.0.0.1:64615
### How important is this to you?
Nice to have; this feature would make using Kurtosis more enjoyable.
The text was updated successfully, but these errors were encountered:
## Description:
<!-- Describe this change, how it works, and the motivation behind it.
-->
This PR introduces:
- Argument order validation check
- Custom formatting when only one value is specified on format string
- Unit tests for formatting functions
- CI test for the CLI command
This PR also fixes the default flag of the command
## Is this change user facing?
YES
<!-- If yes, please add the "user facing" label to the PR -->
<!-- If yes, don't forget to include docs changes where relevant -->
## References (if applicable):
<!-- Add relevant Github Issues, Discord threads, or other helpful
information. -->
Closes#1355Closes#1356Closes#1357
Background & motivation
I can't think of a usecase where we'd want to out-of-order the elements (and if the user really wants to do it they can just inline two separate
kurtosis port print
calls in the same wayDesired behaviour
The elems to
--format
are order-independent:$ kurtosis port print --format ip,protocol,number tired-knoll postgres postgresql
postgresql://127.0.0.1:64615
The text was updated successfully, but these errors were encountered: