CLI Reference
The equivalence-engine command processes files and applies SDL migration rules.
Basic Usage
Run a migration by specifying the source path, version jump boundaries, and library binding name:
equivalence-engine --path ./src --rules-dir ./rules/qt --from 5.15 --to 6.0
Usage with Remote Ruleset
You can fetch rulesets directly from remote Git repositories. The engine will clone the repository to a temporary workspace, resolve and apply the required migration files, and clean up automatically.
equivalence-engine --rules-repo https://github.com/dev-centr/equivalence-rules-code --from 5.15 --to 6.0 --path ./src
CLI Options Reference
| Option | Description |
|---|---|
|
Path to the directory or file containing the code to transform. |
|
Path to a local directory containing |
|
Git URL to a remote ruleset repository. |
|
Branch of the rules repository (defaults to |
|
Starting version boundary (e.g. |
|
Target version boundary (e.g. |
|
Comma-separated list of file extensions to process (defaults to |
|
Perform dry run; prints replacements to stdout instead of overwriting files in-place. |
|
|
|
With |
|
With |
CLI domain (install commands)
Pick one method for a host context:
equivalence-engine --domain cli \ --rules-repo https://github.com/dev-centr/equivalence-rules-cli \ --to linux/nix/default gh
List every method this catalog knows (filter later in PlayTime by host capabilities):
equivalence-engine --domain cli --list gh \ --rules-repo https://github.com/dev-centr/equivalence-rules-cli
--to is windows/winget, never windows/pwsh/msi. Format is a column, not a path segment. See Host Awareness.