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

[2.x] Validate the stack argument #1113

Merged
merged 2 commits into from
Aug 8, 2022
Merged

[2.x] Validate the stack argument #1113

merged 2 commits into from
Aug 8, 2022

Conversation

jessarcher
Copy link
Member

Currently when running jetstream:install, if you specify an invalid stack such as "vue", you'll end up with a partial Jetstream install and no error message.

This PR validates that the stack is either inertia or livewire.

Note that there is no default stack in Jetstream and it already displays an error when the stack is not provided.

Ultimately I'd love to prompt the user if they don't specify a stack, but that raises bigger questions of whether it should prompt for options like teams etc.

@taylorotwell taylorotwell merged commit 9ae00ba into 2.x Aug 8, 2022
@taylorotwell taylorotwell deleted the stack-validation branch August 8, 2022 13:22
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

Successfully merging this pull request may close these issues.

3 participants