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

x/cliffy/command/upgrade/provider.ts>Provider

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

Properties

private
maxCols: number
protected
readonly
maxListSize: number
abstract
readonly
name: string

Methods

protected
printVersions(
versions: Array<string>,
currentVersion?: string,
unnamed 2?: { maxCols?: number; indent?: number; },
): void
abstract
getRegistryUrl(name: string, version: string): string
abstract
getRepositoryUrl(name: string): string
abstract
getVersions(name: string): Promise<Versions>
isOutdated(
name: string,
currentVersion: string,
targetVersion: string,
): Promise<boolean>
listVersions(name: string, currentVersion?: string): Promise<void>
upgrade(unnamed 0: UpgradeOptions): Promise<void>