Skip to content

CLI Reference

This section is the reference area for the xrmghost CLI. It documents the information architecture (IA) that governs how CLI command reference pages are organised and produced.

PagePurpose
Command GroupsMaps each command group to its reader-facing purpose and intended reference-page shape

The xrmghost CLI surface is organised into the following top-level command groups. See Command Groups for the full mapping.

Command GroupShort Description
initPrepare or repair the installation: prerequisites, Framework Host, next step
runExecute a Dataverse plugin via FrameworkHost
generate-scenarioGenerate a template JSON scenario file for a plugin
doctorDiagnose configuration and connectivity; --fix repairs the managed Framework Host
privacyDisplay data-collection and privacy information
licenseManage license status and activation
envManage Dataverse environment configurations
setupAdvanced: install or update the Framework Host in the managed install root

First setup is xg init, not xg setup host. The CLI resolves the Framework Host in the order bundle bin\ > managed install root > legacy locations; when none is found, the host-dependent commands point to xg init (xg init --no-interactive in CI). setup host only manages the managed install root, which a ZIP’s bundled host takes precedence over.