Page tree
Skip to end of metadata
Go to start of metadata

A new CLI tool called (or translate5.bat under windows) is currently under development.

Its purpose is to provide important commands to maintain translate5 on command line, and is replacing and in future the whole additional maintenance functionality of so that only installing and updating remains in

A Bash completion file is available in "ProjectRoot/Translate5/"

The following commands are available in translate5.[sh|bat]:

./ list
Translate5 CLI Maintenance 1.0

  command [options] [arguments]

  -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
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  config               List, get and set translate5 configuration values.
  help                 Displays help for a command
  list                 Lists commands
  log                  Query the translate5 log
  database:update      Maintain database updates.
  session:impersonate  Returns a URL to authenticate password less as the given user.
  task:clean           provides information about and the possibility to delete hanging import / erroneous tasks and orphaned task data directories
  worker:list          Prints a list of current workers or details about one worker

Using bash completion for usage

Just copy "ProjectRoot/Translate5/" to /etc/bash_completion.d/ or source the file in your .bashrc

Updating bash completion files while CLI development

# in translate5 root folder
symfony-autocomplete --shell=bash ./ > Translate5/ 
symfony-autocomplete --shell=zsh ./ > Translate5 /

  • No labels