Saba note

醜悪コード Ugly hacks ITものづくり

Symfony2コマンド一覧

Options:
-h, –help Display this help message
-q, –quiet Do not output any message
-V, –version Display this application version
–ansi Force ANSI output
–no-ansi Disable ANSI output
-n, –no-interaction Do not ask any interactive question
-e, –env=ENV The environment name [default: “dev”]
–no-debug Switches off debug mode
-v|vv|vvv, –verbose Increase the verbosity of messages: 1 for normal output, 2 for mor e verbose output and 3 for debug

Available commands:
help このヘルプメッセージを表示する
list リストコマンド
assets
assets:install バンドルのWebアセットをパブリックWebディレクトリの下にインストールする
cache
cache:clear キャッシュをクリアします。
cache:pool:clear キャッシュプールをクリアします。
cache:warmup 空のキャッシュのときウォームアップする(キャッシュ作成)
config
config:dump-reference デフォルト設定(拡張機能)をダンプします。バーっとリストアップ
debug
debug:config config:dump-referenceと殆ど同じ。というか全く同じ(だと思う)
debug:container アプリケーションのサービスコンテナのリスト表示。
debug:event-dispatcher 設定しているアプリケーションリスナーのリスト表示。
debug:router 設定中ルーティングの表示
debug:swiftmailer SMPTの設定表示
debug:translation (よくわからない)
debug:twig Twigの関数とかフィルターとかのリスト表示
doctrine
doctrine:cache:clear-collection-region Clear a second-level cache collection region.
doctrine:cache:clear-entity-region Clear a second-level cache entity region.
doctrine:cache:clear-metadata Clears all metadata cache for an entity manager
doctrine:cache:clear-query Clears all query cache for an entity manager
doctrine:cache:clear-query-region Clear a second-level cache query region.
doctrine:cache:clear-result Clears result cache for an entity manager
doctrine:database:create Creates the configured database
doctrine:database:drop Drops the configured database
doctrine:database:import Import SQL file(s) directly to Database.
doctrine:ensure-production-settings Verify that Doctrine is properly configured for a production environment.
doctrine:generate:crud [generate:doctrine:crud] Generates a CRUD based on a Doctrine entity
doctrine:generate:entities [generate:doctrine:entities] Generates entity cl asses and method stubs from your mapping information
doctrine:generate:entity [generate:doctrine:entity] Generates a new Doctr ine entity inside a bundle
doctrine:generate:form [generate:doctrine:form] Generates a form type c lass based on a Doctrine entity
doctrine:mapping:convert [orm:convert:mapping] Convert mapping informatio n between supported formats.
doctrine:mapping:import Imports mapping information from an existing dat abase
doctrine:mapping:info
doctrine:query:dql Executes arbitrary DQL directly from the command line.
doctrine:query:sql Executes arbitrary SQL directly from the command line.
doctrine:schema:create Executes (or dumps) the SQL needed to generate t he database schema
doctrine:schema:drop Executes (or dumps) the SQL needed to drop the c urrent database schema
doctrine:schema:update Executes (or dumps) the SQL needed to update the database schema to match the current mapping metadata.
doctrine:schema:validate Validate the mapping files.
generate
generate:bundle Generates a bundle
generate:command Generates a console command
generate:controller Generates a controller
lint
lint:twig Lints a template and outputs encountered errors
lint:yaml Lints a file and outputs encountered errors
orm
router
router:match Helps debug routes by simulating a path info mat ch
security
security:check Checks security issues in your project dependenc ies
security:encode-password Encodes a password.
server
server:run Runs PHP built-in web server
server:start Starts PHP built-in web server in the background
server:status Outputs the status of the built-in web server fo r the given address
server:stop Stops PHP’s built-in web server that was started with the server:start command
swiftmailer
swiftmailer:email:send Send simple email message
swiftmailer:spool:send Sends emails from the spool
translation
translation:update Updates the translation file

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です