cli
cli copied to clipboard
`project view`, `project-group view` commands don't respect `--output-format` switch
The bug
The --output-format or -f option has no effect for project view or project-group view, despite CLI usage info suggesting otherwise.
Command to reproduce
octopus project view MyProject -f json
octopus project-group view MyProjectGroup -f json
Outcome
MyProject (myproject)
Version control branch: Not version controlled
No description provided
View this project in Octopus Deploy: https://XXX.octopus.app//app#/Spaces-1/projects/Projects-XXX
MyProject (MyProjectGroup)
No description provided
Projects:
XXX
XXX
XXX
View this project group in Octopus Deploy: https://XXX.octopus.app//app#/Spaces-1/projects?projectGroupId=ProjectGroups-XXX
Versions
cli: 2.1.0
Octopus Server: How do I find out? It's hosted on octopus.app
I see the same issue with octopus space view "space name" --output-format json
This is on CLI version 1.7.1 (installed via go install github.com/OctopusDeploy/cli/cmd/octopus@latest)
Server version v2024.1 (Build 12401)
Another user seeing the same issue (internal) - https://octopus.zendesk.com/agent/tickets/223245