axyr/silverstripe-console

The missing Silverstripe console : supersake

Installs: 35

Dependents: 0

Suggesters: 0

Stars: 23

Watchers: 3

Forks: 1

Open Issues: 6

Type:silverstripe-module

dev-master 2016-05-04 20:22 UTC

README

Scrutinizer Travis Packagist Packagist Packagist

Interact with your Silverstripe application from the command line with supersake.

Screenshot

Installation

composer install

$ 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

update .htaccess

# Deny access to supersake
<Files supersake>
	Order allow,deny
	Deny from all
</Files>

update web.config

<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

Summary

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

Further information

Documentation

For the Code of Conduct, see CodeOfConduct

For contributing, see Contributing

For further documentation information, see the docs