Skip to content

Update output of spo theme list #5231

@milanholemans

Description

@milanholemans

Same issue as #4444

For the command spo theme list we are checking in the command whether themes were found. If a theme was found, we output the API response as it should. But if there were no themes found, nothing is returned at all. This makes the command very unpredictable to use in scripts. A better approach would be to output an empty array (like we do for other commands) when no items were found.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions