Open waldekmastykarz opened 8 months ago
@waldekmastykarz isn't it a bit by design as in text
output mode we trim and don't print complex response.
I think we will need to add a condition for this output mode to handle this properly for this command right?
@waldekmastykarz isn't it a bit by design as in
text
output mode we trim and don't print complex response. I think we will need to add a condition for this output mode to handle this properly for this command right?
Right now, we don't show anything which makes the command useless. If it's not meant to work with text mode, then it should fail with a warning so that it's clear upfront why the output is empty, rather than retrieving the results but not showing anything. That's confusing.
Priority
(Urgent) I can't use the CLI
Description
spo search
doesn't show results in text output mode. The same query in JSON output mode shows results as returned by the query.Steps to reproduce
spo search -q docx
> no resultsspo search -q o json
> resultsExpected results
Results
Actual results
No results
Diagnostics
CLI for Microsoft 365 version
Latest from main
nodejs version
v20
Operating system (environment)
macOS
Shell
PowerShell
cli doctor
Additional Info
No response