Enhancement: Update SPFx doctor command with default output type as text
See original GitHub issueCurrently the spfx doctorcommand’s default output type is json
for consistency with other commands.
It will however result in an output in the terminal as shown below.
Update the command so the default value and the only value of -o, --output [output] is
text
instead as for this command, it is the only format supported.
If other values are requested by the user, throw an error.
Update the supporting documentation as well in this page
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:21 (21 by maintainers)
Top Results From Across the Web
spfx doctor - CLI for Microsoft 365
This commands helps you to verify if your environment meets all prerequisites for building solutions using a particular version of the SharePoint Framework....
Read more >Build your first ListView Command Set extension
Create an extension project, and then code and debug your extension by using SharePoint Framework (SPFx) Extensions.
Read more >Chapter 5 Intermediate Modeling With Simio
The file extension SPFX stands for Simio Project File. ... refers to either a generic Object or a specific type of object like...
Read more >Free SharePoint Filter Web Part
choose the filter type (Text, Dropdown, Date, Radiobuttons, Checkboxes, Tabs, ... run the following Sharepoint 2010 Powershell command on your web front end ......
Read more >Posts - MVP
Title Created By Published Cate...
Calling Microsoft Graph with PnP PowerShell Todd O. Klindt 4/15/2022 4:35 PM Powe...
Rapid Digital Transformation webinar with SysKit Todd...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
And fast! 👍👍
I have just created a PR for this enhancement. Here I have provided the following logic, that if a user doesn’t provide an output option it will default to
text
. If they give an output option that isn’t text they get the following messageThe output options only accepts the type "text"
. Within the documentation I have added an info call-out to state that only the output typetext
is supported.