Skip to content

Commit a371fff

Browse files
authored
Merge pull request #8413 from ahmed-negm/feature/add-new-dump-mpr-command-options
Add new options to `dump-mpr` command
2 parents 799614a + 714be3f commit a371fff

File tree

1 file changed

+9
-3
lines changed
  • content/en/docs/refguide/general/mx-command-line-tool

1 file changed

+9
-3
lines changed

content/en/docs/refguide/general/mx-command-line-tool/dump-mpr.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,20 @@ These are the `OPTIONS`:
2020
| Option | Value | Result |
2121
| --- | --- | --- |
2222
| `--unit-type` | A single unit type, or a comma-separated list of unit types. | Filters the results on the supplied unit types and limits the JSON export. |
23+
| `--exclude-system-module` | | Exclude the system module from the JSON export. (Available from Mendix 10.12.0) |
24+
| `--exclude-protected-modules` | | Exclude protected modules from the JSON export. (Available from Mendix 10.12.0) |
25+
| `--module-names` | A single module name, or a comma-separated list of module names. | Filters the results on the supplied modules and limits the JSON export. (Available from Mendix 10.16.0) |
2326

2427
### Examples
2528

2629
These are valid examples:
2730

28-
* `mx dump-mpr temp.mpr`
29-
* `mx dump-mpr temp.mpr --unit-type DomainModels$DomainModel`
30-
* `mx dump-mpr --unit-type DomainModels$DomainModel,Texts$SystemTextCollection temp.mpr`
31+
* `mx dump-mpr app.mpr`
32+
* `mx dump-mpr --unit-type DomainModels$DomainModel app.mpr`
33+
* `mx dump-mpr --unit-type DomainModels$DomainModel,Texts$SystemTextCollection app.mpr`
34+
* `mx dump-mpr --module-names MyFirstModule app.mpr`
35+
* `mx dump-mpr --module-names MyFirstModule --unit-type DomainModels$DomainModel app.mpr`
36+
* `mx dump-mpr --exclude-system-module --exclude-protected-modules app.mpr`
3137

3238
A sample output with the unit type filter on domain models would be:
3339

0 commit comments

Comments
 (0)