microsoftgraph/msgraph-cli-archived

In the README, the copy command copies the sample output inclusive instead of just the command

Closed this issue · 0 comments

Describe the bug
In the sample query command, in the query section of the README.md, the copy button copies the sample output as well making it hard to use the copied command directly in a CLI.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/microsoftgraph/msgraph-cli
  2. Scroll down to Query section as shown in screenshot below
    image
  3. Click on the copy button

On pasting in a cli, the following warning is displayed
image

Expected behavior
The copy button should only copy the command

Additional comments
Also not sure if the userType=='Member' is still a valid query example as results returned have no userType .

AB#9546