-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Add a page for Commands #52
Comments
Is this what you are looking for @dougstjohn ? There is a dedicated commands page with a link a the bottom, for additional reading on the Laravel docs where you can find good examples on how to create your own commands. The Statamic addon docs do give a hint on how to register your own commands: Does this feel good to you or are you missing some information to make it even more clear? |
I can't remember what was on the v2 docs, but I think it had an example Command class to reference. It'd be nice to be able to do 'php please make:command' to generate a custom command into the Statamic project or Statamic addon. Then extra docs wouldn't be needed since it'd be easy to generate commands just like fieldtypes, widgets, etc. |
@dougstjohn Laravel actually provides this for you. You can run: php artisan make:command (CommandName) |
@dougstjohn @damcclean That could make clear in the docs how to create custom commands. |
There has been no feedback, so I will close it for now. |
Similar to https://docs.statamic.com/addons/classes/commands
The text was updated successfully, but these errors were encountered: