Polyman Documentation - v3.1.0
    Preparing search index...

    Function remoteDiffAction

    • 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

      If credentials are not registered

      If Config.json is missing or has no problem ID

      If a Polygon request fails

      // From CLI: polyman remote diff ./my-problem
      await remoteDiffAction('./my-problem');