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
Change the general option itself to handle multiple levels of verbosity.
thus -v would be as today, -vv would be more detail, etc.
That is the easy part, the hard part is to select what should be displayed at each level.
I propose the following as a starting point for discussion:
-v - msgs on overall status of commands as they proceed. Here is a proposal for the levels.
Level 1 - High level flow through complex code.
The status messages from compiling scripts
MOF compile messages
server connect and disconnect.
In effect, that would be the existing commands.
Level 2
An ouput for those commands that return nothing or today just ouput an indication that the command executed. This would be confirmation that the command executed when level 2 was set but nothing when not set.
Level 3
I propose that for level 3, we add the display of commands as they are executed including the command group, the command, and the parameters. While the commands are generally obvious when done through stdin, they are not at all obvious.
Since the responses to commands (data or exceptions) is generally obvious, except for those few commands that when successful return nothing or a conditional output covered by level 2, there is no need for any more output at level 3.
Level 4
I have not ideas for level 4
NOTE: the other question is whether the levels are cumulative or not. Does level 3 show level 1,2,3 messages. As a first pr, I would propose that we do:
Modify the --verbose option
Add common logic to name the levels.
Leave all the current outputs as is since there are level 1 and should display any time verbose exists.
Add the option to display the command that will be executed.
The text was updated successfully, but these errors were encountered:
The current proposal is not optimal, for example when a user wants to see the commands because they pipe them from stdin, they need to turn on level 3 and need to consume all the stuff from level 1.
Change the general option itself to handle multiple levels of verbosity.
thus -v would be as today, -vv would be more detail, etc.
That is the easy part, the hard part is to select what should be displayed at each level.
I propose the following as a starting point for discussion:
-v - msgs on overall status of commands as they proceed. Here is a proposal for the levels.
Level 1 - High level flow through complex code.
In effect, that would be the existing commands.
Level 2
An ouput for those commands that return nothing or today just ouput an indication that the command executed. This would be confirmation that the command executed when level 2 was set but nothing when not set.
Level 3
I propose that for level 3, we add the display of commands as they are executed including the command group, the command, and the parameters. While the commands are generally obvious when done through stdin, they are not at all obvious.
Since the responses to commands (data or exceptions) is generally obvious, except for those few commands that when successful return nothing or a conditional output covered by level 2, there is no need for any more output at level 3.
Level 4
I have not ideas for level 4
NOTE: the other question is whether the levels are cumulative or not. Does level 3 show level 1,2,3 messages. As a first pr, I would propose that we do:
The text was updated successfully, but these errors were encountered: