Command line
Moves TM1 Planning Analytics objects between TM1 servers and files. Run it in a project's folder, or give one with --path.
Usage
usage: tm1cm [-h] [--mode {get,put,scaffold,interactive}] [--path PATH]
[--environment ENVIRONMENT] [--log LOG] [--connect KEY=VALUE]
[--debug]
[FILE ...]Options
--mode | get from TM1, put to TM1, create a project (scaffold), or pick operations interactively |
--path | the project folder (default: the current folder) |
--environment | the environment under config/ to get from or put to |
--log | the log file (default: <project>.log in the current folder) |
--connect, -c KEY=VALUE | a connection setting to use instead of the one in connect.yaml or credentials.yaml, e.g. -c user=admin -c verify=true. Repeat for each setting |
FILE | for get and put: only the objects these files are (e.g. data/process/Load.process), whatever tm1cm.yaml's filters select. put deletes from TM1 the object of a file that's gone; get deletes the file of an object TM1 hasn't got |
--debug | log debug messages, and show the full traceback of an error |
--mode
Get from TM1, put to TM1, create a project (scaffold), or pick operations interactively.
One of get, put, scaffold, interactive; interactive unless given.
--path
The project folder (default: the current folder).
--environment
The environment under config/ to get from or put to.
--log
The log file (default: <project>.log in the current folder).
--connect, -c KEY=VALUE
A connection setting to use instead of the one in connect.yaml or credentials.yaml, e.g. -c user=admin -c verify=true. Repeat for each setting.
Give it as many times as needed.
FILE
For get and put: only the objects these files are (e.g. data/process/Load.process), whatever tm1cm.yaml's filters select. put deletes from TM1 the object of a file that's gone; get deletes the file of an object TM1 hasn't got.
Give it as many times as needed.
--debug
Log debug messages, and show the full traceback of an error.