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

    Function stepGetValidProblemName

    • Step: Validate and get problem name from user

      Resolution order: options.explicitName (the --name flag), then initialName (Config.json), then an interactive prompt. An explicit name that is invalid or already taken fails the step. Without a terminal on stdin the step fails instead of prompting.

      Parameters

      • stepNum: number
      • sdk: PolygonSDK
      • OptionalinitialName: string
      • options: { explicitName?: string } = {}

      Returns Promise<string>