@fulminate/cli
Advanced tools
Comparing version 2.1.7 to 2.1.8
@@ -9,11 +9,11 @@ #!/usr/bin/env node | ||
var minimist = require("minimist"); | ||
var typedi_1 = require("typedi"); | ||
var _1 = require("./"); | ||
var typedi_1 = require("typedi"); | ||
var argv = minimist(process.argv.slice(2)); | ||
_1.Shell.write(typedi_1.Container.get(_1.CliLogoFactory).build(), 'cyan', 'bold'); | ||
if (argv._.indexOf('eastwood') !== -1) { | ||
_1.EastwoodCommand(); | ||
} | ||
else if (argv.bootstrap !== undefined) { | ||
_1.BootstrapCommand(argv.bootstrap).then(function () { | ||
else if (argv.bootstrap !== undefined || argv._.bootstrap) { | ||
_1.Shell.write(typedi_1.Container.get(_1.CliLogoFactory).build(), 'cyan', 'bold'); | ||
_1.BootstrapCommand(argv.bootstrap ? argv.bootstrap : '').then(function () { | ||
_1.Shell.write('Fulminate project bootstrap successfully installed!', 'green', 'bold'); | ||
@@ -20,0 +20,0 @@ process.exit(0); |
{ | ||
"name": "@fulminate/cli", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"description": "CLI for bootstrapping and simplifying control over Fulminate Framework projects.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
83757
0