Extends 'spo listitem get' command. Closes #2382#2464
Conversation
|
Awesome! We'll review it in the coming days as we're preparing for a release. Thank you! |
waldekmastykarz
left a comment
There was a problem hiding this comment.
The command fails with an error when you use the JSON output mode:
$ m365 spo listitem get -u / --listTitle MyList --id 5 --properties FileRef,ID -o json
Error: The expression "web/lists/getByTitle('MyList')/items(5),FileRef,ID" is not valid.Could you please double check your changes?
|
Sorry I didn't catch it earlier, but what's exactly the difference between using |
|
Hi @waldekmastykarz |
|
You're right. Would renaming @pnp/cli-for-microsoft-365-maintainers what do you think? |
I don't see the value in making the change, introducing another option would just cause confusion. Renaming the |
|
Would renaming |
|
I think |
|
I am also in an opinion to rename it to |
|
In that case, I'd suggest that we close this PR and the related issue and open a new issue scheduled for the v4 version of CLI that will introduce the breaking change of renaming |
Extends 'spo listitem get' command. Closes #2382
Extends 'spo listitem get' command to retrieve properties using option --properties