(WIP) Reactforce CLI Commands
The following commands are supported by the Reactforce CLI
Reactforce Commands
init --static-resources --shared-assets --repository --branch
This command is used to setup a salesforce project for Reactforce. Configuration for the reactforce configuration is stored in ./reactforce/config.json
Parameters
--static-resources (-s)
This is the path to deliver the development assets. This parameter is option and the default value is /force-app/main/default/staticresources. For an understanding of the shared assets click here.
--shared-assets (-a)
This is name of the shared-assets zip file that will be created. This parameter is optional and the default value is ReactforceSharedAssets
--repository (-r)
This is the repository to pull the shared code from. The machine making the call must have command line access to the repository. This parameter is optional and the default value is cloudpremise/reactforce-assets
--branch (-b)
This is the branch to use in the repo. This parameter is optional and the default value is main
create --app-name --template-name --branch --repository --shared-assets --static-resources
This command is used to setup a new reactforce application
Parameters
--app-name (-a) name of the reactforce application that will be injected into the templates. Required.
--template-name (-t) name of the template to use to create the reactforce applications. This parameter is optional and the default value is "default"
--repository (-r)
This is the repository to pull the shared code from. The machine making the call must have command line access to the repository. This parameter is optional and the default value is cloudpremise/reactforce-templates
--branch (-b)
This is the branch to use in the repo. This parameter is optional and the default value is main
{{WIP --> other commands here for future config types}}
Last updated