Replies: 1 comment 7 replies
-
I had a sneak peek at it and it's brilliant! Ship it! |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Intro
A few months ago I came across the Az Predictor PowerShell module which is an intelligent command completion module for Azure PowerShell.
So, I had a discussion with @waldekmastykarz and thought we could something similar for Microsoft 365 CLI PowerShell.
What it can/should do
A predictor that gets all the examples of the CLI commands from the docs and shows them to the users as they start typing the m365 cmdlets. Since the docs are installed as part of the M365 CLI installation, the predictions will be as per the version of M365 CLI installed (thank you @waldekmastykarz for this tip).
Demo
Below is an example of the predictor built so far using the command line predictor documentation. We can see that as we type
m365 ...
theCLI Predictor
starts showing the examples from the docs.Code
I have also shared the code on GitHub which can be looked into for more details.
Next steps
Happy to get everyone's input on this and see if this is worth adding to the project
Beta Was this translation helpful? Give feedback.
All reactions