test

2
Symfony2 Cheat Sheet Console Commands Cheat Sheet Symfony version 2.0.0-DEV - app Usage:[options] command [arguments] Options: --help -h Display this help message. --quiet -q Do not output any message. --verbose -v Increase verbosity of messages. --version -V Display this program version. --ansi -a Force ANSI output. --no-interaction -n Do not ask any interactive question. --shell -s Launch the shell. Available commands: help Displays help for a command (?) list Lists commands assets :install cache :warmup Warms up an empty cache doctrine :ensure-production- settings Verify that Doctrine is properly configured for a production environment. doctrine:cache :clear-metadata Clear all metadata cache for a entity manager. :clear-query Clear all query cache for a entity manager. :clear-result Clear result cache for a entity manager. doctrine:data :load Load data fixtures to your database. doctrine:database :create Create the configured databases. :drop Drop the configured databases. doctrine:generate :entities Generate entity classes and method stubs from your mapping information. :entity Generate a new Doctrine entity inside a bundle. :proxies Generates proxy classes for entity classes. :repositories Generate repository classes from your mapping information. doctrine:mapping :convert Convert mapping information between supported formats. :import Import mapping information from an existing database. :info Show basic information about all mapped entities. doctrine:query :dql Executes arbitrary DQL directly from the command line. :sql Executes arbitrary SQL directly from the command line. doctrine:schema :create Processes the schema and either create it directly on EntityManager Storage Connection or generate the SQL output. :drop Drop the complete database schema of EntityManager Storage Connection or generate the corresponding SQL output. :update Processes the schema and either update the database schema of EntityManager Storage Connection or generate the SQL output.

Upload: kurt-smith

Post on 23-Mar-2016

212 views

Category:

Documents


0 download

DESCRIPTION

testing you piece of shit let me enter nothgin!

TRANSCRIPT

Symfony2 Cheat SheetConsole Commands Cheat Sheet

Symfony version 2.0.0-DEV - app

Usage:[options] command

[arguments]

Options:

--help -h Display this help message.

--quiet -q Do not output any message.

--verbose -v Increase verbosity of messages.

--version -V Display this program version.

--ansi -a Force ANSI output.

--no-interaction -n Do not ask any interactive question.

--shell -s Launch the shell.

Available commands:

help Displays help for a command (?)

list Lists commands

assets

:install

cache

:warmup Warms up an empty cache

doctrine

:ensure-production-

settings

Verify that Doctrine is properly configured for a production environment.

doctrine:cache

:clear-metadata Clear all metadata cache for a entity manager.

:clear-query Clear all query cache for a entity manager.

:clear-result Clear result cache for a entity manager.

doctrine:data

:load Load data fixtures to your database.

doctrine:database

:create Create the configured databases.

:drop Drop the configured databases.

doctrine:generate

:entities Generate entity classes and method stubs from your mapping information.

:entity Generate a new Doctrine entity inside a bundle.

:proxies Generates proxy classes for entity classes.

:repositories Generate repository classes from your mapping information.

doctrine:mapping

:convert Convert mapping information between supported formats.

:import Import mapping information from an existing database.

:info Show basic information about all mapped entities.

doctrine:query

:dql Executes arbitrary DQL directly from the command line.

:sql Executes arbitrary SQL directly from the command line.

doctrine:schema

:create Processes the schema and either create it directly on EntityManager Storage Connection

or generate the SQL output.

:drop Drop the complete database schema of EntityManager Storage Connection or generate

the corresponding SQL output.

:update Processes the schema and either update the database schema of EntityManager Storage

Connection or generate the SQL output.

init

:bundle

router

:debug Displays current routes for an application

:dump-apache Dumps all routes as Apache rewrite rules

Symfony2 Cheat Sheet. Derived by installing the sandbox, going to the app directory and running 'php console'Created by John M Howitt - [email protected] - Aranaio Ltd http://www.aranaio.com28th Februrary 2011. Also available as a Mac Widget. Please contact me for more information.