• Push a prompt to the hub. If the specified repo doesn't already exist, it will be created.

    Parameters

    • repoFullName: string

      The full name of the repo.

    • runnable: Runnable

      The prompt to push.

    • Optionaloptions: {
          apiKey?: string;
          apiUrl?: string;
          description?: string;
          isPublic?: boolean;
          newRepoDescription?: string;
          newRepoIsPublic?: boolean;
          parentCommitHash?: string;
          readme?: string;
          tags?: string[];
      }
      • OptionalapiKey?: string
      • OptionalapiUrl?: string
      • Optionaldescription?: string
      • OptionalisPublic?: boolean
      • OptionalnewRepoDescription?: string

        Use description instead.

      • OptionalnewRepoIsPublic?: boolean

        Use isPublic instead.

      • OptionalparentCommitHash?: string
      • Optionalreadme?: string
      • Optionaltags?: string[]

    Returns Promise<string>

    The URL of the newly pushed prompt in the hub.

""