Consider suppressing default success message of single step #343
Labels
CLI
IDEasy command-line-interface (parsing args, etc.)
enhancement
New feature or request
step
Logging and monitoring of process steps
Milestone
The
VersionCommandlet
should print nothing but the version. This allows e.g. in scripts to get the version and determine something on that. If other things are also printed out, then the script will also need some uglygrep
hacks to filter out only the version.We ourselves have stumbled over other tools like
docker
orwsl
where we really had a hard time to just get the version such way without other undesired clutter.Current we get this:
This comes from my step infrastructure in PR #282
In general this is a nice feature but in some cases like this one it is actually undesired.
We should either add the ability for a commandlet to suppress this (might be tricky as this is shomehow produced by the root step that is already created in
Ideasy
CLI parsing code before we know the actual commandlet) or we simply always suppress the success summary if there is no child step and only success.The text was updated successfully, but these errors were encountered: