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

    Function compileAllGenerators

    • Compiles all generators needed for the given commands. Returns a map of generator names to compiled paths.

      Parameters

      Returns Promise<Map<string, string>>

      Map of generator name to compiled path

      If any generator compilation fails

      If a required generator is not found

      const compiledPaths = await compileAllGenerators(commands, generators);
      const genPath = compiledPaths.get('gen-random');