spacelift-io / spacectl

Spacelift client and CLI
MIT License
131 stars 35 forks source link

Add space details to the stack object #201

Closed tomasmik closed 10 months ago

tomasmik commented 10 months ago

Original issue requests to add filtering by space https://github.com/spacelift-io/spacectl/issues/198 I propose we add space to the output and callers can use jq:

$ spc stack list --output json  | jq '.[] | select(.spaceDetails.parentSpace == "root")'

Closes https://github.com/spacelift-io/spacectl/issues/198