Version command

The version command manages versions in the TADDM.

Command syntax

api.sh|api.bat-u|--useruser-p|--passwordpassword [-H|--hosthost] [-P|--portport] [-T|--truststorefile] version [-c|--createversion-nameversion-description]
api.sh|api.bat-u|--useruser-p|--passwordpassword [-H|--hosthost] [-P|--portport] [-T|--truststorefile] version [-e|--createemptyversion-nameversion-description]
api.sh|api.bat-u|--useruser-p|--passwordpassword [-H|--hosthost] [-P|--portport] [-T|--truststorefile] version [-d|--deleteversion-id-or-name]
api.sh|api.bat-u|--useruser-p|--passwordpassword [-H|--hosthost] [-P|--portport] [-T|--truststorefile] versiongetall

Parameters

version
Runs the version command.
-c|--create version-name version-description
Creates a new version with the supplied name.
-e|--createempty version-name version-description
Creates an empty new version with the supplied name.
-d|--delete version-id-or-name
Deletes the specified version.
getall
Displays all existing versions.

Examples

  • This command creates a version:
    api.sh -u user -p password -H host -P port version -create "version1.0"
     "This is the initial version"
  • This command deletes a version:
    api.sh -u user -p password -H host -P port version -delete "version1.0"