0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Mautic で利用できるコマンド (2.5.1)

Last updated at Posted at 2017-02-10

Version 2系 (2.5.1) で確認

$ php /【Mauticパス】/app/console list
Mautic version 2.5.1 - app/prod

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
  -s, --shell              Launch the shell.
      --process-isolation  Launch commands from shell as a separate process.
  -e, --env=ENV            The Environment name. [default: "prod"]
      --no-debug           Switches off debug mode.
  -v|vv|vvv, --verbose     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  help                                    Displays help for a command
  list                                    Lists commands
 assets
  assets:install                          Installs bundles web assets under a public web directory
 bazinga
  bazinga:oauth-server:clean              Clean expired tokens
 cache
  cache:clear                             Clears the cache
  cache:warmup                            Warms up an empty cache
 config
  config:debug                            Dumps the current configuration for an extension
  config:dump-reference                   Dumps the default configuration for an extension
 container
  container:debug                         Displays current services for an application
 debug
  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:router                            Displays current routes for an application
  debug:swiftmailer                       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                    Flush a given cache
  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                    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:entities              Generates entity classes and method stubs from your mapping information
  doctrine:mapping:convert                Convert mapping information between supported formats.
  doctrine:mapping:import                 Imports mapping information from an existing database
  doctrine:mapping:info                   
  doctrine:migrations:diff                Generate a migration by comparing your current database to your mapping information.
  doctrine:migrations:execute             Execute a single migration version up or down manually.
  doctrine:migrations:generate            Generate a blank migration class.
  doctrine:migrations:latest              Outputs the latest version number
  doctrine:migrations:migrate             Execute a migration to a specified version or the latest available version.
  doctrine:migrations:status              View the status of a set of migrations.
  doctrine:migrations:version             Manually add and delete migration versions from the version table.
  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.
 fos
  fos:oauth-server:clean                  Clean expired tokens
 generate
  generate:doctrine:entities              Generates entity classes and method stubs from your mapping information
 lint
  lint:twig                               Lints a template and outputs encountered errors
  lint:yaml                               Lints a file and outputs encountered errors
 mautic
  mautic:assets:generate                  Combines and minifies asset files from each bundle into single production files
  mautic:broadcasts:send                  Process contacts pending to receive a channel broadcast.
  mautic:campaigns:messagequeue           Process sending of messages queue.
  mautic:campaigns:messages               Process sending of messages queue.
  mautic:campaigns:rebuild                Rebuild campaigns based on contact segments.
  mautic:campaigns:trigger                Trigger timed events for published campaigns.
  mautic:campaigns:update                 Rebuild campaigns based on contact segments.
  mautic:citrix:sync                      Synchronizes registrant information from Citrix products
  mautic:email:fetch                      Fetch and process monitored email.
  mautic:emails:fetch                     Fetch and process monitored email.
  mautic:emails:send                      Processes SwiftMail's mail queue
  mautic:fetchleads:integration           Fetch leads from integration.
  mautic:install:data                     Installs Mautic with sample data
  mautic:integration:fetchleads           Fetch leads from integration.
  mautic:integration:pushactivity         Push lead activity to integration.
  mautic:integration:pushleadactivity     Push lead activity to integration.
  mautic:iplookup:download                Fetch remote datastores for IP lookup services that leverage local lookups
  mautic:maintenance:cleanup              Updates the Mautic application
  mautic:messages:send                    Process sending of messages queue.
  mautic:migrations:generate              Generate a blank migration class.
  mautic:pushactivity:integration         Push lead activity to integration.
  mautic:segments:rebuild                 Update contacts in smart segments based on new contact data.
  mautic:segments:update                  Update contacts in smart segments based on new contact data.
  mautic:social:monitoring                Looks at the records of monitors and iterates through them. 
  mautic:theme:json-config                Converts theme config to JSON from PHP
  mautic:transifex:pull                   Fetches translations for Mautic from Transifex
  mautic:transifex:push                   Pushes Mautic translation resources to Transifex
  mautic:translation:createconfig         Create config.php files for translations
  mautic:translation:debug                Displays translation messages informations
  mautic:update:apply                     Updates the Mautic application
  mautic:update:find                      Fetches updates for Mautic
  mautic:webhooks:process                 Process queued webhook payloads
 oneup
  oneup:uploader:clear-chunks             Clear chunks according to the max-age you defined in your configuration.
  oneup:uploader:clear-orphans            Clear orphaned uploads according to the max-age you defined in your configuration.
 orm
  orm:convert:mapping                     Convert mapping information between supported formats.
 router
  router:debug                            Displays current routes for an application
  router:dump-apache                      [DEPRECATED] Dumps all routes as Apache rewrite rules
  router:match                            Helps debug routes by simulating a path info match
 security
  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 for the given address
  server:stop                             Stops PHP's built-in web server that was started with the server:start command
 social
  social:monitor:twitter:hashtags         Looks at our monitoring records and finds hashtags
  social:monitor:twitter:mentions         Searches for mentioned tweets
 swiftmailer
  swiftmailer:debug                       Displays current mailers for an application
  swiftmailer:email:send                  Send simple email message
  swiftmailer:spool:send                  Sends emails from the spool
 translation
  translation:debug                       Displays translation messages information
  translation:update                      Updates the translation file
 twig
  twig:debug                              Shows a list of twig functions, filters, globals and tests
 yaml
  yaml:lint                               Lints a file and outputs encountered errors

メモ

1系のコマンドはこちら
http://qiita.com/motchi0214/items/11855d716f7d4ac33231

1->2系で変わったコマンド:[2.0] New Mautic cli commands
https://www.mautic.org/community/index.php/4855-2-0-new-mautic-cli-commands/0

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?