class GithubProvider
extends Provider
import { GithubProvider } from "https://deno.land/x/cliffy@v1.0.0-rc.2/command/upgrade/provider/github.ts";
Constructors
new
GithubProvider(unnamed 0: GithubProviderOptions)Methods
private
getApiUrl(endpoint: string): stringprivate
gitFetch<T>(endpoint: string): Promise<T>getRegistryUrl(_name: string, version: string): string
getRepositoryUrl(_name: string): string
getVersions(_name: string): Promise<GithubVersions>
listVersions(name: string, currentVersion?: string): Promise<void>