@fulminate/cli
Advanced tools
Comparing version 2.1.2 to 2.1.3
11
index.js
@@ -7,11 +7,8 @@ #!/usr/bin/env node | ||
exports.__esModule = true; | ||
__export(require("./src")); | ||
var minimist = require("minimist"); | ||
var _1 = require("./"); | ||
var bootstrap_command_1 = require("./src/command/bootstrap.command"); | ||
var shell_1 = require("./src/shell"); | ||
var typedi_1 = require("typedi"); | ||
var cliLogo_factory_1 = require("./src/factory/cliLogo.factory"); | ||
__export(require("./src")); | ||
var argv = minimist(process.argv.slice(2)); | ||
shell_1.Shell.write(typedi_1.Container.get(cliLogo_factory_1.CliLogoFactory).build(), 'cyan', 'bold'); | ||
_1.Shell.write(typedi_1.Container.get(_1.CliLogoFactory).build(), 'cyan', 'bold'); | ||
if (argv._.indexOf('eastwood') !== -1) { | ||
@@ -21,4 +18,4 @@ _1.EastwoodCommand(); | ||
else if (argv.bootstrap !== undefined) { | ||
bootstrap_command_1.BootstrapCommand(argv.bootstrap).then(function () { | ||
shell_1.Shell.write('Fulminate project bootstrap successfully installed!', 'green', 'bold'); | ||
_1.BootstrapCommand(argv.bootstrap).then(function () { | ||
_1.Shell.write('Fulminate project bootstrap successfully installed!', 'green', 'bold'); | ||
process.exit(0); | ||
@@ -25,0 +22,0 @@ }); |
#!/usr/bin/env node | ||
export * from './src'; | ||
import * as minimist from 'minimist'; | ||
import { EastwoodCommand } from './'; | ||
import { BootstrapCommand } from './src/command/bootstrap.command'; | ||
import { Shell } from './src/shell'; | ||
import { BootstrapCommand, CliLogoFactory, EastwoodCommand, Shell } from './'; | ||
import { Container } from 'typedi'; | ||
import { CliLogoFactory } from './src/factory/cliLogo.factory'; | ||
export * from './src'; | ||
@@ -11,0 +8,0 @@ const argv = minimist(process.argv.slice(2)); |
{ | ||
"name": "@fulminate/cli", | ||
"version": "2.1.2", | ||
"version": "2.1.3", | ||
"description": "CLI for bootstrapping and simplifying control over Fulminate Framework projects.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
0
17118
438