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
Modify startup and command setup so that we use the general options for connections (--server, etc. in interactive mode as well as at startup. This involves two changes.
i. Process all of the options to the cli method on all calls, not just the initial call.
2. Modify Pywbemcliserver class to do clean modification of parameters as well as init.
3. Modify the code in the cli function that processes commands in interactive mode so that it processes all input parameters to cli and sets them into the current context.
NOTE: The goal is to use general options only for the current command execution, not to make them the norm for succeeding commands in the interactive session.
The text was updated successfully, but these errors were encountered:
Just for information, here is the behavior documented in PR #306 that we agreed on:
in interactive mode, commands can get general options but they apply only to that one command and not to future commands.
in interactive mode, general options specified on a command overwrite the inherited general options from the command invocation. Conflicting options in the resulting effective set of general options are rejected.
Modify startup and command setup so that we use the general options for connections (--server, etc. in interactive mode as well as at startup. This involves two changes.
i. Process all of the options to the cli method on all calls, not just the initial call.
2. Modify Pywbemcliserver class to do clean modification of parameters as well as init.
3. Modify the code in the cli function that processes commands in interactive mode so that it processes all input parameters to cli and sets them into the current context.
NOTE: The goal is to use general options only for the current command execution, not to make them the norm for succeeding commands in the interactive session.
The text was updated successfully, but these errors were encountered: