Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/momentum/cli/global/mod.ts>MvfManagerService

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
class MvfManagerService
import { MvfManagerService } from "https://deno.land/x/momentum@v0.8.2/cli/global/mod.ts";

Note that this is run out of a DI context for installation. We want to run without metadata requirements to simply the deno run call, so DI will not work. Therefore, do not use dependencies... for now.

Properties

private
readonly
versionRegex: RegExp

Methods

private
createDirectoryIfNotExists(absolutePath: string)
private
createFileIfNotExists(absolutePath: string, contents: string)
private
executeCommand(cmd: string[] | string)
private
getInstallUrlForRequestedVersion(requestedVersion: string | null)
private
joinPaths(...paths: string[])
private
runInstall(cliMainTsUrl: string)
upgrade(requestedVersion: string | null)

Updates the local installation of mvf.