mise API - v0.0.0
    Preparing search index...

    Function descriptorFromImage_extract

    • Reads a plugin's descriptor out of its image.

      Parameters

      • image: string

        The image reference.

      • OptionalpublicRepo: string

        The plugin's repository, passed to chris_plugin_info when known.

      • run: DockerRun = docker_run

        The docker seam.

      Returns Promise<Record<string, unknown> | null>

      The descriptor, or null when none of the three ways printed one.

      const descriptor: Record<string, unknown> | null = await descriptorFromImage_extract('fnndsc/pl-dircopy:2.1.1');