UNPKG

@jitterbox/flywaydb-cli

Version:

Install latest flywaydb-cli as a node module (forked from github.com/sgraham785/flywaydb-cli)

18 lines (16 loc) 351 B
import { getReleaseSource, downloadFlywaySource, extractToLib, copyToBin, cleanupDirs } from "./utils"; getReleaseSource() .then(downloadFlywaySource) .then(extractToLib) .then(copyToBin) .then(cleanupDirs) .catch(function(reason) { // Handle failed request... console.error(`error --> ${reason}`); });