class cliffy.GithubProvider
extends Provider
import { cliffy } from "https://deno.land/x/powar@1.0.0/deps.ts";
const { GithubProvider } = cliffy;
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>