vscode-viva
vscode-viva copied to clipboard
💡 [Feature]: extend CLI command logs with full name and options passed
🎯 Aim of the feature
Currently the logs for CLI commands are quite short
we are missing the m365 before every command and we do not print out the passed options that were used to run this command. This does not help as the actually idea behind this functionality was to provide guidance for developers what are the CLI commands that may use as equivalent to the SPFx Toolkit feature if they would rather use a terminal instead.
We should fix it up.
In order to do that we should recheck the tryExecuteCommand method in
https://github.com/pnp/vscode-viva/blob/main/src/services/CliCommandExecuter.ts
We should add:
-
m365for every command - print the passed args which will be the options used
- double check the output default value which is
text. IMO it should be alwaysjsonand we could then remove passing it in all places