Skip to content

fix(resource manager): print valid JSON/YAML output for list cmds#1394

Merged
rubenhoenle merged 1 commit intomainfrom
fix/STACKITCLI-270-resource-manager-json-list-output
Apr 29, 2026
Merged

fix(resource manager): print valid JSON/YAML output for list cmds#1394
rubenhoenle merged 1 commit intomainfrom
fix/STACKITCLI-270-resource-manager-json-list-output

Conversation

@j1n-o9r
Copy link
Copy Markdown
Contributor

@j1n-o9r j1n-o9r commented Apr 29, 2026

Description

relates to STACKITCLI-270 / #893

Testing Instructions

Projects: (response needs to be mocked)

  • stackit project list -> No projects found matching the criteria
  • stackit project list --output-format json -> Should output valid JSON
  • stackit project list --output-format yaml -> Should output valid YAML

Organizations: Already resolved in #1312

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see e.g. here)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@github-actions
Copy link
Copy Markdown

Merging this branch will increase overall coverage

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/project/list 82.95% (+3.41%) 👍

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/stackitcloud/stackit-cli/internal/cmd/project/list/list.go 82.95% (+3.41%) 88 73 (+3) 15 (-3) 👍

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@j1n-o9r j1n-o9r marked this pull request as ready for review April 29, 2026 11:04
@j1n-o9r j1n-o9r requested a review from a team as a code owner April 29, 2026 11:04
@rubenhoenle rubenhoenle merged commit a557c95 into main Apr 29, 2026
3 checks passed
@rubenhoenle rubenhoenle deleted the fix/STACKITCLI-270-resource-manager-json-list-output branch April 29, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants