Help us continue to build and maintain our open source projects. We’re a small team of independent developers and every little bit helps.
WP-CLI Commands for Acorn
View as Markdown:
Acorn comes with WP-CLI commands similar to Laravel's artisan CLI.
Available commands
wp acorn clear-compiled— Remove the compiled class filewp acorn completion— Dump the shell completion scriptwp acorn env— Display the current framework environmentwp acorn help— Display help for a commandwp acorn list— List commandswp acorn optimize— Cache the framework bootstrap fileswp acorn acorn-init— Initializes required paths in the base directorywp acorn config:cache— Create a cache file for faster configuration loadingwp acorn config:clear— Remove the configuration cache filewp acorn optimize:clear— Remove the cached bootstrap fileswp acorn make:command— Create a new Artisan commandwp acorn make:component— Create a new view component classwp acorn make:composer— Create a new view composer classwp acorn make:provider— Create a new service provider classwp acorn package:discover— Rebuild the cached package manifestwp acorn vendor:publish— Publish any publishable assets from vendor packageswp acorn view:cache— Compile all of the application's Blade templateswp acorn view:clear— Clear all compiled view files
Last updated