ockam
ockam copied to clipboard
feat(rust): improvements for commands' output to standardize their formatting
Output changes
-
list
commands: I've removed the header that was shown in a box. These commands now print the items without any header -
tcp-inlet|outlet create
: I changed the formatting of the output to use a "narrative" format, instead of showing a list of values. - I extended the docs for some arguments (global arguments and command specific arguments)
- All arguments that have json output now print the json struct in a single line (the
pretty-print
can be done with jq if the user needs it)
Fixes
-
tcp-inlet|outlet create
: theallow
argument was set as positional, and it should be a named argument. I also changed the alias to match the arg name we use atpolicy create
(expression
instead ofpolicy_expression
)