Is there a way to get the current stack from the p...
# general
i
Is there a way to get the current stack from the pulumi command quickly? The only one I know of is to 'pulumi stack ls' and get the one with the asterisk. I can also find the appropriate file in ~/.pulumi/workspaces/<dir>-<id>-workspace.json. But I'd prefer to use the command.
b
There isn’t right now and I believe there is an issue open for this
I’ll see if we can add it
i
thx
👍 1
If you can add it to the issue, please have the command run only locally and error out if it's not a pulumi project directory