Skip to content

pacx script all

github-actions[bot] edited this page Jul 22, 2025 · 2 revisions

Generates PACX scripts for all entities with specified custom prefixes.

Usage

This command generates PACX scripts for all entities with the specified custom prefixes.

If requested, the generated CSV file will contain only the statecode and statuscode fields for each entity, for documentation purposes.

Example usage:

pacx script all --customPrefixs "custom_" --output "C:/output" --scriptFileName "myscript.ps1" --stateFileName "state-fields.csv" --includeStateFields

Arguments

Long Name Short Name Required? Description Default value Valid values
customPrefixs cp Y Comma-separated custom prefixes for entities and fields. - String
output o N Output directory for generated files. - String
scriptFileName script N Name for the generated PACX script file. pacx_datamodel_script.ps1 String
stateFileName state N Name of the CSV file that will contain the state fields. state-fields.csv String
includeStateFields i N If true, exports the statecode and statuscode fields as CSV. - true, false

Command list

Clone this wiki locally