https://pulumi.com logo
#general
Title
# general
i

incalculable-sundown-82514

03/26/2019, 9:27 PM
If you’re OK with `jq`…
Copy code
▶ p stack ls --json | jq '.[] | select(.current == true) | .name'
"webs"
👍 1
c

cold-coat-35200

03/26/2019, 9:36 PM
alternative:
pulumi stack ls | grep '*' | cut -d ' ' -f1 | tr -d '*'
👍 1