• 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;
          newRepoDescription?: string;
          newRepoIsPublic?: boolean;
          parentCommitHash?: string;
          readme?: string;
          tags?: string[];
      }
      • OptionalapiKey?: string
      • OptionalapiUrl?: string
      • OptionalnewRepoDescription?: string
      • OptionalnewRepoIsPublic?: boolean
      • OptionalparentCommitHash?: string
      • Optionalreadme?: string
      • Optionaltags?: string[]

    Returns Promise<string>

    The URL of the newly pushed prompt in the hub.