axyr/silverstripe-console

The missing Silverstripe console : supersake

Installs: 37

Dependents: 0

Suggesters: 0

Security: 0

Stars: 23

Watchers: 4

Forks: 1

Open Issues: 6

Type:silverstripe-module

dev-analysis-XNAG94 2016-04-18 21:24 UTC

This package is not auto-updated.

Last update: 2024-11-29 19:58:09 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