namespace typo3:cms:cli
Global configuration
Overrides the default variables in your deploy.rb
.
set :typo3_environment_cli, {
TYPO3_COMPOSER_AUTOLOAD: 1,
TERM: 'screen-256color'
}
run
Runs the TYPO3 cli_dispatch.phpsh
script with given parameters.
Usage
$ cap dev typo3:cms:cli:run[extbase,help]
Output
DEBUG [be9d1912] Finished in 0.793 seconds with exit status 0 (successful).
DEBUG [482f29d7] Running /usr/bin/env [ -e /var/www/your-domain/current/typo3/cli_dispatch.phpsh ] as vagrant@project.example
DEBUG [482f29d7] Command: [ -e /var/www/your-domain/htdocs/typo3/cli_dispatch.phpsh ]
DEBUG [482f29d7] Finished in 0.005 seconds with exit status 0 (successful).
INFO [5d610322] Running /usr/bin/env php /var/www/your-domain/current/typo3/cli_dispatch.phpsh extbase help as vagrant@project.example
DEBUG [5d610322] Extbase 6.2.0
DEBUG [5d610322] usage: /usr/bin/env /var/www/your-domain/htdocs/typo3/cli_dispatch.phpsh extbase <command identifier>
DEBUG [5d610322]
DEBUG [5d610322] The following commands are currently available:
DEBUG [5d610322]
DEBUG [5d610322] EXTENSION "EXTENSIONMANAGER":
DEBUG [5d610322] -------------------------------------------------------------------------------
DEBUG [5d610322] extension:install Installs an extension by key
DEBUG [5d610322] extension:uninstall Uninstalls an extension by key
DEBUG [5d610322]
DEBUG [5d610322]
DEBUG [5d610322] EXTENSION "EXTBASE":
DEBUG [5d610322] -------------------------------------------------------------------------------
DEBUG [5d610322] help Display help for a command
DEBUG [5d610322]
DEBUG [5d610322]
DEBUG [5d610322] EXTENSION "LANG":
DEBUG [5d610322] -------------------------------------------------------------------------------
DEBUG [5d610322] language:update Update language file for each
DEBUG [5d610322] extension
DEBUG [5d610322]
DEBUG [5d610322]
DEBUG [5d610322] cleanup:log
DEBUG [5d610322]
DEBUG [5d610322] See '/usr/bin/env /var/www/your-domain/current/typo3/cli_dispatch.phpsh extbase help <command identifier>' for more information about a specific command.
DEBUG [5d610322]
INFO [5d610322] Finished in 0.580 seconds with exit status 0 (successful).
upload_wrapper
Creates and uploads wrapperscript for TYPO3 cli_dispatch.phpsh
which adds additional environment variables.
Usage
$ cap dev typo3:cms:cli:upload_wrapper
Output
00:00 typo3:cms:cli:upload_wrapper
Uploading /var/www/your-domain/current/typo3_cms_cli_dispatch.sh 100.0%