question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhancement: Update SPFx doctor command with default output type as text

See original GitHub issue

Currently 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. image 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:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

3reactions
martinlingstuylcommented, Mar 17, 2022

And fast! 👍👍

2reactions
Jwaegebaertcommented, Mar 16, 2022

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 message The output options only accepts the type "text". Within the documentation I have added an info call-out to state that only the output type text is supported.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found