webCOMAND

COMAND CLI

The following package functionality is available from the command-line interface (CLI).

  • version - Get the COMAND software version number.
  • config - List or check the configuration files.
  • update - Update all packages to a specified version.

Version

Display the COMAND software version number.

php comand.php io_comand version

Config

Display the COMAND configurations, or check them for issues.

Options are:

  • -m <mode> where the mode is one of the following modes.
    • list (default) - List all cascaded configuration options "flattened" into a single list.
    • check - Check the configuration for known issues, such as unrecognized options.
php comand.php io_comand config -m check

Update

Update all packages to a specified version.

Options are:

  • -v <version> - The specific version to update to in Major.Minor.Patch notation.  For example, 3.5.2.  If just the Major or Major.Minor version number is provided, the latest Minor.Patch or Patch will be used.  If not specified at all, will update to latest version.
  • --force - Force the update if the package is already at or beyond the specified version.
  • --skipbackup - Skip the database backup step when performing the update.
  • --skipinstall - Skip the package install step when performing the update.

To update COMAND and all packages to the latest version:

php comand.php io_comand update

To update COMAND and all packages to the latest the latest version:

php comand.php io_comand update -v 3.5 --skipbackup --skipinstall

To update to a release candidate:

php comand.php io_comand update -v candidate-3.7.0 --skipbackup