Polyman Documentation - v2.2.2
    Preparing search index...

    Function remoteViewProblemAction

    • Displays detailed information about a Polygon problem. Shows problem metadata, files, solutions, tests, and current status. Can read problem ID from Config.json or accept it as argument.

      Parameters

      • problemIdOrPath: string

        Problem ID or path to directory with Config.json

      Returns Promise<void>

      Resolves when view completes

      If credentials are not registered

      If problem not found on Polygon

      // From CLI: polyman remote-view 123456
      await remoteViewProblemAction('123456');
      // Displays problem details in formatted UI
      // View problem in current directory
      await remoteViewProblemAction('.');
      // Uses problem ID from Config.json