This message was deleted.
# general
s
This message was deleted.
b
pulumi stack ls
supports the
--json
flag
q
it wouldn’t help build a one-liner to get the current stack
since it returns an array
b
Copy code
pulumi stack ls --json | jq '.[] | select(.current==true) | .name'
q
that works. thanks!