History: Console
Preview of version: 14
Console
New in Tiki11, Tiki Console is to administer your Tiki instance via the command line. It is based on Symfony's Console Component. All the other command line scripts (ex.: php installer/shell.php) will continue to work, but all future developments will be on this new script.
php console.php
user@server:/www/trunk$ php console.php
Console Tool
Usage:
options command arguments
Options:
--help -h Display this help message.
--quiet -q Do not output any message.
--verbose -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
--version -V Display this application version.
--ansi Force ANSI output.
--no-ansi Disable ANSI output.
--no-interaction -n Do not ask any interactive question.
--site Multi-Tiki instance
--as-user Run the command as a different user
Available commands:
help Displays help for a command
list Lists commands
backup
backup:files Create a backup of Tiki instance files
cache
cache:clear Clear Tiki caches
daily-report
daily-report:send Send daily user reports
database
database:backup Create a database backup (with mysqldump)
database:configure Database: Configure (write local.php)
database:install Clean Tiki install
database:redact Command not available
database:update Update the database to the latest schema
goal
goal:check Reviews all active goals and assigns rewards.
index
index:catch-up Catch-up on incremental indexing.
index:optimize Optimize the unified search index
index:rebuild Fully rebuild the unified search index
mail-in
mail-in:poll Read the mail-in messages
mail-queue
mail-queue:send Send the messages stored in the Mail Queue
notification
notification:digest Send out email notification digests
profile
profile:apply Apply a profile
profile:baseline Generate the SQL patch to assign profile symbols for an existing installation.
profile:export:init Initialize profile export for current site.
profile:forget Forget a profile installation
rss
rss:refresh Refresh incoming RSS feeds
user@server:/www/trunk$ php console.php Console Tool Usage: [options] command [arguments] Options: --help -h Display this help message. --quiet -q Do not output any message. --verbose -v|vv|vvv Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug --version -V Display this application version. --ansi Force ANSI output. --no-ansi Disable ANSI output. --no-interaction -n Do not ask any interactive question. --site Multi-Tiki instance Available commands: help Displays help for a command list Lists commands backup backup:files Create a backup of Tiki instance files cache cache:clear Clear Tiki caches daily-report daily-report:send Send daily user reports database database:backup Create a database backup (with mysqldump) database:configure Database: Configure (write local.php) database:install Clean Tiki install database:redact Command not available database:update Update the database to the latest schema index index:catch-up Catch-up on incremental indexing. index:optimize Optimize the unified search index index:rebuild Fully rebuild the unified search index mail-queue mail-queue:send Send the messages stored in the Mail Queue profile profile:apply Apply a profile profile:export:init Initialize profile export for current site. profile:forget Forget a profile installation
Getting advanced help
Clear Caches and options
php console.php c:c --help
php console.php c:c --all
php console.php c:c --private
php console.php c:c --modules
php console.php c:c --templates
php console.php c:c --public
Examples
Help on database update
php console.php database:update --help
Help on database install
php console.php database:install --help