Skip to main content
Module

x/cliffy/command/mod.ts>Provider

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class Provider
Re-export
Abstract
import { Provider } from "https://deno.land/x/cliffy@v0.25.7/command/mod.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>