title | description | keywords | ms.subservice | ms.author | author | ms.date | ms.reviewer | ms.topic | contributors | |
---|---|---|---|---|---|---|---|---|---|---|
Microsoft Power Platform CLI pcf command group| Microsoft Docs |
Describes commands and parameters for the Microsoft Power Platform CLI pcf command group. |
pac cli |
developer |
marcsc |
devkeydet |
1/22/2024 |
jdaly |
reference |
|
Commands for working with Power Apps component framework projects
[!INCLUDE pcf-intro]
Command | Description |
---|---|
pac pcf init | Initializes a directory with a new Power Apps component framework project |
pac pcf push | Import the Power Apps component framework project into the current Dataverse organization |
pac pcf version | Patch version for controls |
Initializes a directory with a new Power Apps component framework project
[!INCLUDE pcf-init-intro]
The rendering framework for control. The default value is 'none', which means HTML.
Use one of these values:
none
react
The name for the component.
Note: Only characters within the ranges [A - Z], [a - z] or [0 - 9] are allowed. The first character may not be a number.
The namespace for the component.
Note: Only characters within the ranges [A - Z], [a - z], [0 - 9], or '.' are allowed. The first and last character may not be the '.' character. Consecutive '.' characters are not allowed. Numbers are not allowed as the first character or immediately after a period.
Output directory
Auto run 'npm install' after the control is created. The default value is 'false'.
This parameter requires no value. It's a switch.
Choose a template for the component.
Use one of these values:
field
dataset
[!INCLUDE pcf-init-remarks]
Import the Power Apps component framework project into the current Dataverse organization
[!INCLUDE pcf-push-intro]
Specifies the target Dataverse. The value may be a Guid or absolute https URL. When not specified, the active organization selected for the current auth profile will be used.
Deprecated: This parameter is ignored.
Pushes only files which are different using entity updates.
This parameter requires no value. It's a switch.
Indicates that actions in the build are allowed to interact with the user. Don't use this argument in an automated scenario where interactivity is not expected.
This parameter requires no value. It's a switch.
Customization prefix value for the Dataverse solution publisher
Note: The prefix must be 2 to 8 characters long, can only consist of alpha-numerics, must start with a letter, and can't start with 'mscrm'.
The unique name of the solution to add the component to.
Verbosity level for MSBuild when building the temporary solution wrapper.
Use one of these values:
minimal
normal
detailed
diagnostic
[!INCLUDE pcf-push-remarks]
Patch version for controls
[!INCLUDE pcf-version-intro]
Updates patch version for all 'ControlManifest.xml' files
This parameter requires no value. It's a switch.
Tracker CSV file name to be used when using filetracking as a strategy. The default value is 'ControlsStateVersionInfo.csv'.
Patch version for controls
Note: The value must be an integer with minimum value of 0.
Absolute/Relative path of the 'ControlManifest.xml' for updating.
Updates patch version for 'ControlManifest.xml' files using specified strategy. If using gittags, set a personal access token in the following environment variable "PacCli.PAT"
Use one of these values:
None
GitTags
FileTracking
Manifest
Specify which target manifest needs to be updated.
Use one of these values:
build
project
[!INCLUDE pcf-version-remarks]
[!INCLUDE pcf-remarks]
Microsoft Power Platform CLI Command Groups
Microsoft Power Platform CLI overview