Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment shortcut . doesn't work with variable:create #187

Open
arnested opened this issue Jun 19, 2024 · 0 comments
Open

Environment shortcut . doesn't work with variable:create #187

arnested opened this issue Jun 19, 2024 · 0 comments
Labels

Comments

@arnested
Copy link

When trying to set a variable in the default environment, the shortcut . is not recognized.

Using main works, though. But the shortcut is nicer when scripting across projects where the default environment could vary.

$ platform variable:create --level=environment --environment=. --name=env:FOO --value=bar
Selecting default environment (indicated by .)
Selected environment: main (type: production)


  [InvalidValueException]
  . is not one of: main, plausible, pr-110, pr-122, pr-65

I'm using 5.0.14.

@akalipetis akalipetis added the CLI label Jul 2, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants