Options that go before any command, plus how MMT reports errors.
Usage#
mmt [--debug] [--version] {checkout,push,pull,tag,log,status,diff,revert,credential,info,config,remote,switch,branch,sri} ...
Arguments#
| Argument | Short | Required | Description |
|---|---|---|---|
--debug |
-d |
No | Output HTTP request / response logs. |
--version |
-v |
No | Outputs version of MMT and exits. |
Examples#
mmt --version
mmt --debug pull
--debugmust come before the command:mmt --debug pull, notmmt pull --debug.mmt --debugon its own only prints the usage.mmt log -vis--verbose, not--version.
--debug prints your credentials
Debug output includes each request’s authorization header, which contains your API token, and any HTTP basic authentication login. Don’t paste it into tickets or chats without removing them.
Errors#
MMT prints errors as <code>: <message> and exits with status 1. Errors from the store’s JSON API include the function name, for example access_denied: BranchList_Load_Query: Access denied. See Troubleshooting.