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

Change signature of Artisan reaction-type-add command #83

Merged
merged 2 commits into from
Jul 20, 2019

Conversation

antonkomarev
Copy link
Member

@antonkomarev antonkomarev commented Jul 19, 2019

Resolves #82

This command will create Like type with weight equal to 1:

php artisan love:reaction-type-add --name=Like --weight=1

This command is similar to command above:

php artisan love:reaction-type-add --weight=1 --name=Like

This command will interactively ask for name and after it will create type with weight equal to 1:

php artisan love:reaction-type-add --weight=1

This command will interactively ask for weight and after it will create type with name equal to Like:

php artisan love:reaction-type-add --name=Like

@antonkomarev antonkomarev added this to the v8.0.0 milestone Jul 19, 2019
@antonkomarev antonkomarev merged commit 6bd7851 into master Jul 20, 2019
@antonkomarev antonkomarev deleted the change/artisan-reaction-type-add-signature branch July 20, 2019 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change Artisan reaction-type-add command signature
1 participant