Skip to content

[2.x] Validate the stack argument#1113

Merged
taylorotwell merged 2 commits into2.xfrom
stack-validation
Aug 8, 2022
Merged

[2.x] Validate the stack argument#1113
taylorotwell merged 2 commits into2.xfrom
stack-validation

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