Interact with your Silverstripe application from the command line with supersake.
$ composer require axyr/silverstripe-console
Run this from within your webroot:
$ php framework/cli-script.php dev/build
$ cp ./console/publish/supersake supersake
Now protect the supersake file
# Deny access to supersake
<Files supersake>
Order allow,deny
Deny from all
</Files>
<fileExtensions allowUnlisted="true" >
...
<add fileExtension="supersake" allowed="false"/>
...
</fileExtensions>
You should now be able to show a list of available commands by running this from your webroot :
$ php supersake
Create DataObjects, Pages and more from predefined or custom stubs with:
$ php supersake make:dataobject MyCustomDataObject
List DataObjects, Controllers, Config and more in a nice table style list with:
$ php supersake list:controller
For the Code of Conduct, see CodeOfConduct
For contributing, see Contributing
For further documentation information, see the docs
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem