Skip to content

CLI: coder list -o json returns no value but a json is expected #16312

Closed
@bjornrobertsson

Description

@bjornrobertsson

The expected returning value should be (on stdout):
{"workspaces":[],"count":0}

End user runs:
coder list -o json

Sees:
No workspaces found! Create one: coder create <name>

(This is printed to stderr)

This would match the API function and is a valid json.

Metadata

Metadata

Labels

cliArea: CLIcustomer-reportedBugs reported by enterprise customers. Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions