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

Extend CLI deploy command with --spaces flag option configurable #381

Open
edvinasjurele opened this issue Mar 21, 2024 · 4 comments
Open

Comments

@edvinasjurele
Copy link

edvinasjurele commented Mar 21, 2024

Is your feature request related to a problem? Please describe.

We do keep Field-types in Organisation level (https://app.storyblok.com/#/me/org/fields), which is accessible ONLY for users having Admin level.
Multiple developers can contribute to plugin monorepo, and they should be able to push new plugins in automated way via CLI only with no need to go to Admin panel to configure them, hence they must be able to have plugin assigned to some certain spaces via CLI.

Describe the solution you'd like

Extend CLI deploy command with --spaces flag option to instantly assign plugin to certain spaces, f.e

--spaces 0123456

or multiple:

--spaces 0123456,0123457,0123458

Additional context

Severity: high.

@eunjae-lee
Copy link
Contributor

Hi @edvinasjurele This is a good idea. I assume you mean --spaces flag to deploy command, right?

@edvinasjurele
Copy link
Author

Hi @eunjae-lee, yes! Sorry, was not specific enough. Will update description accordingly.

@edvinasjurele edvinasjurele changed the title Extend CLI with --spaces flag option configurable Extend CLI deploy command with --spaces flag option configurable Mar 25, 2024
@eunjae-lee
Copy link
Contributor

Hi @eunjae-lee, yes! Sorry, was not specific enough. Will update description accordingly.

No worries! I just wanted to make sure :D

@cmuench
Copy link

cmuench commented May 23, 2024

IMHO there should be an option for interactive question of the deploy command.
This is useful to automate the deplyoment.
In our case we need an option to set a value for the question Where to deploy the plugin?.
The better solution is to provide an environment variable to set the defaults for each option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants