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
broad-dog-22463
11/26/2019, 8:41 PM
There isn’t right now and I believe there is an issue open for this
broad-dog-22463
11/26/2019, 8:42 PM
I’ll see if we can add it
i
incalculable-engineer-92975
11/26/2019, 8:42 PM
thx
👍 1
incalculable-engineer-92975
11/26/2019, 8:43 PM
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