Compares a local problem with its Polygon copy and reports what a push
would change. Reads only: it downloads nothing, uploads nothing and writes
no files.
Parameters
problemPath: string
Path to problem directory with Config.json
Optionaloptions: {json?:boolean} = {}
With json, print a diff report to
stdout and human output to stderr.
Returns Promise<void>
Resolves when the comparison is printed
Throws
If credentials are not registered
Throws
If Config.json is missing or has no problem ID
Throws
If a Polygon request fails
Example
// From CLI: polyman remote diff ./my-problem awaitremoteDiffAction('./my-problem');
Compares a local problem with its Polygon copy and reports what a push would change. Reads only: it downloads nothing, uploads nothing and writes no files.