Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/command/upgrade/provider/github.ts>GithubProvider

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class GithubProvider
extends Provider
import { GithubProvider } from "https://deno.land/x/cliffy@v0.23.2/command/upgrade/provider/github.ts";

Constructors

new
GithubProvider(unnamed 0: GithubProviderOptions)

Properties

private
readonly
apiUrl: string
private
readonly
optional
githubToken: string
private
readonly
optional
listBranches: boolean
private
readonly
registryUrl: string
private
readonly
repositoryName: string
private
readonly
repositoryUrl: string
name: string

Methods

private
getApiUrl(endpoint: string): string
private
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>