|
1 | 1 | # Options |
2 | 2 | |Names|Default value|Needs argument|Possible arguments|Description|Examples| |
3 | 3 | |---|---|---|---|---|---| |
4 | | -|--version, --v, -v, -version|No default value|✘|N/A|Show the version and exit|| |
| 4 | +|--version, --V, -V, -version|No default value|✘|N/A|Show the version and exit|| |
5 | 5 | |--working-directory-path, --wd|No default value|✔| |path to the working directory. Can be relative but prefer absolute path. All relative paths configured will be relative to this path if set.|| |
6 | 6 | |--config-file-path|No default value|✔| |Path to config file. File must exist.|```myProject/src/main/resources/config/datamaintain.properties```| |
7 | 7 | |--db-type|mongo|✔|```mongo``` or ```jdbc```|db type|| |
8 | 8 | |--db-uri|No default value|✔|TEXT|mongo uri with at least database name. Ex: mongodb://localhost:27017/newName|```mongodb://localhost:27017/newName```| |
9 | 9 | |--trust-uri|false|✘|N/A|Deactivate all controls on the URI you provide Datamaintain|| |
10 | 10 | |--mongo-tmp-path|/tmp/datamaintain.tmp|✔|TEXT|mongo tmp file path|| |
| 11 | +|--verbose, -v|false|✘|N/A|verbose|| |
| 12 | +|-vv|false|✘|N/A|trace is more verbose than verbose|| |
11 | 13 | |--config|No default value|✘|N/A|Print the configuration without executing the subcommand|| |
12 | 14 | |-h, --help|No default value|✘|N/A|Display command help and exit|| |
13 | 15 | # Subcommands |
|
25 | 27 | |--execution-mode|NORMAL|✔|```NORMAL``` or ```DRY```|execution mode|| |
26 | 28 | |--action|RUN|✔|```RUN``` or ```MARK_AS_EXECUTED``` or ```OVERRIDE_EXECUTED```|script action|| |
27 | 29 | |--allow-auto-override|false|✘|N/A|Allow datamaintain to automaticaly override scripts|| |
28 | | -|--verbose, -v|false|✘|N/A|verbose|| |
29 | | -|-vv|false|✘|N/A|trace is more verbose than verbose|| |
30 | 30 | |--save-db-output|false|✘|N/A|save your script and db output|| |
31 | 31 | |--print-db-output|false|✘|N/A|print your script and db output|| |
32 | 32 | |--tag|No default value|✔| |Tag defined using glob path matchers. To define multiple tags, use option multiple times. Syntax example: MYTAG1=[pathMatcher1, pathMatcher2]|```MYTAG1=[pathMatcher1, pathMatcher2]```| |
|
47 | 47 | |Names|Default value|Needs argument|Possible arguments|Description|Examples| |
48 | 48 | |---|---|---|---|---|---| |
49 | 49 | |--path|./scripts/|✔|TEXT|path to the script you want to mark as executed|```scripts/myScript1.js```| |
50 | | -|--verbose, -v|false|✘|N/A|verbose|| |
51 | | -|-vv|false|✘|N/A|trace is more verbose than verbose|| |
52 | 50 | |-h, --help|No default value|✘|N/A|Display command help and exit|| |
0 commit comments