Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

project view, project-group view commands don't respect --output-format switch #312

Open
kierenj opened this issue Jan 16, 2024 · 1 comment · May be fixed by #328
Open

project view, project-group view commands don't respect --output-format switch #312

kierenj opened this issue Jan 16, 2024 · 1 comment · May be fixed by #328

Comments

@kierenj
Copy link

kierenj commented Jan 16, 2024

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

@brendonthiede
Copy link

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)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
2 participants