0% found this document useful (0 votes)
566 views8 pages

Oro Commands List

This summarizes the available commands for a Symfony application in a development environment. It lists commands for clearing caches, generating code, running migrations, and more. The full list of commands is too long to include in the summary.

Uploaded by

yousuf ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
566 views8 pages

Oro Commands List

This summarizes the available commands for a Symfony application in a development environment. It lists commands for clearing caches, generating code, running migrations, and more. The full list of commands is too long to include in the summary.

Uploaded by

yousuf ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 8

Symfony 3.4.

27 (kernel: src, env: dev, debug: true)

Usage:
command [options] [arguments]

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.
--disabled-listeners=DISABLED-LISTENERS Disable optional listeners,
"all" to disable all listeners, command "oro:platform:optional-listeners" shows all
listeners (multiple values allowed)
--current-user=CURRENT-USER ID, username or email of the
user that should be used as current user
--current-organization=CURRENT-ORGANIZATION ID or name of the organization
that should be used as current organization
-v|vv|vvv, --verbose Increase the verbosity of
messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
about Displays information about the
current project
help Displays help for a command
list Lists commands
acl
acl:set Sets ACL for objects
akeneo
akeneo:batch:create-job Create a job instance
akeneo:batch:job Launch a registered job
instance
akeneo:batch:list-jobs List the existing job instances
api
api:doc:dump Dumps API documentation in
various formats
api:swagger:dump Dumps Swagger-compliant API
definitions.
assets
assets:install Installs bundles web assets
under a public directory
cache
cache:clear Clears the cache
cache:pool:clear Clears cache pools
cache:pool:prune Prunes cache pools
cache:warmup Warms up an empty cache
config
config:dump-reference Dumps the default configuration
for an extension
debug
debug:autowiring Lists classes/interfaces you
can use for autowiring
debug:config Dumps the current configuration
for an extension
debug:container Displays current services for
an application
debug:event-dispatcher Displays configured listeners
for an application
debug:form Displays form type information
debug:router Displays current routes for an
application
debug:swiftmailer [swiftmailer:debug] Displays
current mailers for an application
debug:translation Displays translation messages
information
debug:twig Shows a list of twig functions,
filters, globals and tests
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:cache:contains Check if a cache entry exists
doctrine:cache:delete Delete a cache entry
doctrine:cache:flush [doctrine:cache:clear] Flush a
given cache
doctrine:cache:stats Get stats on a given cache
provider
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:fixtures:load Load data fixtures to your
database.
doctrine:generate:crud [generate:doctrine:crud]
Generates a CRUD based on a Doctrine entity
doctrine:generate:entities [generate:doctrine:entities]
Generates entity classes and method stubs from your mapping information
doctrine:generate:entity [generate:doctrine:entity]
Generates a new Doctrine entity inside a bundle
doctrine:generate:form [generate:doctrine:form]
Generates a form type class based on a Doctrine entity
doctrine:mapping:convert [orm:convert:mapping] Convert
mapping information between supported formats
doctrine:mapping:import Imports mapping information
from an existing database
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 the database schema
doctrine:schema:drop Executes (or dumps) the SQL
needed to drop the current 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
escape
escape:wsseauthentication:nonces:delete Delete nonces
fos
fos:js-routing:debug Displays currently exposed
routes for an application
fos:js-routing:dump Dumps exposed routes to the
filesystem
gaufrette
gaufrette:filesystem:keys List all the file keys of a
filesystem
generate
generate:bundle Generates a bundle
generate:command Generates a console command
generate:controller Generates a controller
gos
gos:prouter:debug Dump route definitions
gos:server Starts the web socket servers
gos:websocket:server Starts the web socket servers
init
init:acl Mounts ACL tables in the
database
lexik
lexik:maintenance:lock Lock access to the site while
maintenance...
lexik:maintenance:unlock Unlock access to the site while
maintenance...
liip
liip:imagine:cache:remove Remove asset caches for the
passed asset paths(s) and filter name(s)
liip:imagine:cache:resolve Resolves asset caches for the
passed asset paths(s) and filter set name(s)
lint
lint:twig Lints a template and outputs
encountered errors
lint:xliff Lints a XLIFF file and outputs
encountered errors
lint:yaml Lints a file and outputs
encountered errors
monitor
monitor:health Runs Health Checks
monitor:list Lists Health Checks
oro
oro:action:configuration:validate Validate action configuration
oro:activity-contact:recalculate Recalculate contacting
activities
oro:api:cache:clear Clears Data API cache.
oro:api:config:dump Dumps entity configuration used
in Data API.
oro:api:config:dump-reference Dumps the structure of
"Resources/config/oro/api.yml".
oro:api:debug Shows details about registered
Data API actions and processors.
oro:api:doc:cache:clear Clears API documentation cache.
oro:api:dump Dumps all resources accessible
through Data API.
oro:api:metadata:dump Dumps entity metadata used in
Data API.
oro:assets:build The command runs webpack to
build assets.

In dev environment command builds assets without minification and with source-maps.
In prod environment assets are minified and do not include source-maps.

Note: When using the watch mode after changing the assets configuration at
assets.yml files, it is required to restart the command, otherwise it will not
detect the changes.
oro:assets:install Install and build assets, js
routes, dump js translation etc.
oro:b2b:lifetime:recalculate Perform re-calculation of
lifetime values for sales channel.
oro:cache:invalidate:schedule Invalidate Cache
oro:check-requirements Checks that the application
meets the system requirements.
oro:commerce:lifetime:recalculate Perform re-calculation of
lifetime values for commerce customers.
oro:config:update Update config parameter in
global scope
oro:cron Cron commands launcher
oro:cron:analytic:calculate Calculate all registered
analytic metrics
oro:cron:batch:cleanup Clean up batch history
oro:cron:calculate-tracking-event-summary Calculate Tracking Event
Summary
oro:cron:calendar:date Generate calendar dates
oro:cron:customer-visitors:clear-expired Clear expired customer
visitors.
oro:cron:definitions:load Loads cron commands definitions
from application to database.
oro:cron:dotmailer:export-status:update Updates status of Dotmailer's
contacts export operations.
oro:cron:dotmailer:force-fields-sync If conditions are met, mark all
address book contacts as updated to make sure updated virtual field values are
synced to dotmailer
oro:cron:dotmailer:mapped-fields-updates:process Process the queue of changed
mapped entities fields and mark corresponding contacts for export
oro:cron:email-body-sync Synchronize email body
oro:cron:enterprise:license Verify enterprise license
information
oro:cron:imap-credential-notifications Send wrong email credentials
notifications
oro:cron:imap-sync Synchronization emails via IMAP
oro:cron:import-clean-up-storage Clear old files from import
storage.
oro:cron:import-tracking Import tracking logs
oro:cron:integration:cleanup Clean up integration statuses
history
oro:cron:integration:sync Runs synchronization for
integration
oro:cron:lifetime-average:aggregate Run daily aggregation of
average lifetime value per channel
oro:cron:magento:cart:expiration Runs synchronization for
magento channels to process expiration of merged carts
oro:cron:message-queue:cleanup Clear successes and failed jobs
from message_queue_job table
oro:cron:message-queue:consumer_heartbeat_check Checks if there is alive
consumers
oro:cron:password:expire-passwords Sets users with expired
passwords into 'Reset password' state and sends them a notification
oro:cron:password:notify-expiring Send email notification
reminder about expiring passwords to users
oro:cron:price-lists:schedule Prepare and activate combined
price list by schedule
oro:cron:product-collections:index Add message to queue to index
product collections for which filter contains dependencies on other entities.
oro:cron:send-email-campaigns Send email campaigns
oro:cron:send-reminders Send reminders
oro:cron:shopping-list:clear-expired Clear expired guest shopping
lists.
oro:cron:sitemap:generate Add message to queue for
generating sitemap files.
oro:cron:tracking:parse Parse tracking logs
oro:debug:action Displays current "actions" for
an application
oro:debug:condition Displays current "conditions"
for an application
oro:debug:layout Displays the layout
configuration.
oro:debug:operation Debug operation configuration
oro:debug:workflow:definitions List workflow definitions
registered within application
oro:elasticsearch:create-standard-indexes Creates new empty standard
indexes with mappings. Removes current standard indexes if they exist
oro:email:generate-md5 Generates and prints md5 for
email templates content from `oro_email_template` table. Hashes
can be used in email migrations
oro:email:update-associations Update associations to emails
oro:entity-alias:debug Displays entity aliases.
oro:entity-config:cache:clear Clears the entity config cache.
oro:entity-config:cache:warmup Warms up the entity config
cache.
oro:entity-config:debug Displays entity configuration.
oro:entity-config:update Updates configuration data for
entities.
oro:entity-extend:cache:check Makes sure that extended entity
configs are ready to be processed by other commands. This is an internal command.
Please do not run it manually.
oro:entity-extend:cache:clear Clears extended entity cache.
oro:entity-extend:cache:warmup Warms up extended entity cache.
oro:entity-extend:migration:update-config Updates extended entities
configuration during a database structure migration process. This is an internal
command. Please do not run it manually.
oro:entity-extend:update-config Prepare entity config
oro:entity-extend:update-schema Synchronize extended and custom
entities metadata with a database schema
oro:generate:test Create Test
oro:import:file Import data from specified file
for specified entity. The import log is sent to the provided email.
oro:import:price-list:file Import price list data from
specified file. The import log is sent to the provided email.
oro:install Oro Application Installer.
oro:language:update Installs/Updates language's
external translations
oro:localization:dump Dumps oro js-localization
oro:logger:email-notification Update logger email
notification configuration
oro:logger:level Update logger level
configuration
oro:magento:copy-data-to-contact:addresses Make copy addresses of magento
customers to the contact
oro:magento:customer:add-contacts Create contacts for magento
customers
oro:magento:lifetime:recalculate Perform re-calculation of
lifetime values for Magento channel.
oro:maintenance-notification Send mass notifications to all
active application users or to the emails specified in the Recipients list under
Maintenance Notification configuration settings
oro:message-queue:consume A client's worker that
processes messages. By default it connects to default queue. It select an
appropriate message processor based on a message headers
oro:message-queue:create-queues Creates all required queues
oro:message-queue:destinations A command shows all available
destinations and some information about them.
oro:message-queue:topics A command shows all available
topics and some information about them.
oro:message-queue:transport:consume A worker that consumes message
from a broker. To use this broker you have to explicitly set a queue to consume
from and a message processor service
oro:migration:data:load Load data fixtures.
oro:migration:dump Dump existing database
structure.
oro:migration:load Execute migration scripts.
oro:navigation:history:clear Clears `oro_navigation_history`
depending on datetime interval.
oro:navigation:menu:reset Resets menu updates depends on
scope (organization/user).
oro:organization:update Update organization by name.
oro:package:available List of available packages
oro:package:demo:load Load demo data from specified
package(s) to your database.
oro:package:install Installs package from
repository
oro:package:installed List of installed packages
oro:package:update Updates package if new version
is available
oro:package:updates Lists available updates for
installed packages
oro:platform:optional-listeners Get list of Doctrine listeners
which can be disabled during process console command
oro:platform:run-script Run PHP script files in scope
application container.
oro:platform:update Execute platform application
update commands and init platform assets.
oro:price-lists:pl-storage-reorganize Change storage strategy for
class
oro:price-lists:recalculate Recalculate combined price list
and combined product prices
oro:process:configuration:load Load process configuration from
configuration files to the database
oro:process:handle-trigger Handle process trigger with
specified identifier and process name
oro:requirejs:build Build single optimized js
resource
oro:search:index Update search index for
specified entities with the same type
oro:search:reindex Rebuild search index
oro:theme:list List of all available themes
oro:translation:dump Dumps oro js-translations
oro:translation:load Loads translations into DB
oro:translation:pack Dump translation messages and
optionally upload them to third-party service
oro:translation:reset Reset user defined translations
oro:user:create Create user.
oro:user:impersonate Generates one-time
impersonation link for a given user.
Unused tokens expire after the specified time.
oro:user:list Lists users.
By default shows a paginated list of the active (enabled) users.
oro:user:unlock Unlocks the account of a given
user.
oro:user:update Update user.
oro:website-elasticsearch:create-website-indexes Creates new empty website
indexes with mappings. Removes current website indexes if they exist
oro:website-search:reindex Rebuild search index for
certain website/entity type or all mapped entities
oro:workflow:definitions:load Load workflow definitions from
configuration files to the database
oro:workflow:handle-transition-cron-trigger Handle workflow transition cron
trigger with specified identifier
oro:workflow:transit Execute transition of workflow
oro:workflow:translations:dump Dump translations
oro:wsse:generate-header Generate X-WSSE HTTP header for
a given API key
product
product:image:resize-all Resize All Product Images (the
command only adds jobs to a queue, ensure the oro:message-queue:consume command
is running to get images resized)
product:visibility:cache:build Calculate product visibility
cache.
redis
redis:flushall Flushes the redis database
using the redis flushall command
redis:flushdb Flushes the redis database
using the redis flushdb command
router
router:cache:clear Clears the routing cache for an
application
router:match Helps debug routes by
simulating a path info match
security
security:check Checks security issues in your
project dependencies
security:configurable-permission:load Load configurable permissions
into cache
security:encode-password Encodes a password.
security:permission:configuration:load Load permissions configuration
from configuration files to the database
server
server:log Starts a log server that
displays logs in real time
server:run Runs a local web server
server:start Starts a local web server in
the background
server:status Outputs the status of the local
web server
server:stop Stops the local 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

You might also like