@fulminate/cli
Advanced tools
Comparing version 2.0.1 to 2.0.2
{ | ||
"name": "@fulminate/cli", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "CLI for bootstrapping and simplifying control over Fulminate Framework projects.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -0,3 +1,4 @@ | ||
export * from './factory'; | ||
export * from './file.reader'; | ||
export * from './shell'; | ||
export * from './type'; | ||
export * from './file.reader'; |
@@ -6,4 +6,5 @@ "use strict"; | ||
exports.__esModule = true; | ||
__export(require("./factory")); | ||
__export(require("./file.reader")); | ||
__export(require("./shell")); | ||
__export(require("./file.reader")); | ||
//# sourceMappingURL=index.js.map |
/// <reference types="inquirer" /> | ||
import { Answers, Question, Questions } from 'inquirer'; | ||
import * as inquirer from 'inquirer'; | ||
import { ShellBgColorType, ShellTextColorType, ShellTextDecorationType } from './'; | ||
@@ -43,3 +43,3 @@ /** | ||
*/ | ||
prompt(question: string, defaultAnswer: string): Promise<Answers>; | ||
prompt(question: string, defaultAnswer: string): Promise<inquirer.Answers>; | ||
/** | ||
@@ -51,3 +51,3 @@ * Prompt user for input based on provided data. | ||
*/ | ||
prompt(question: Question | Questions | Question[]): Promise<Answers>; | ||
prompt(question: inquirer.Question | inquirer.Questions | inquirer.Question[]): Promise<inquirer.Answers>; | ||
} |
@@ -48,3 +48,3 @@ "use strict"; | ||
var chalk = require("chalk"); | ||
var inquirer_1 = require("inquirer"); | ||
var inquirer = require("inquirer"); | ||
var typedi_1 = require("typedi"); | ||
@@ -56,3 +56,3 @@ /** | ||
function Shell() { | ||
this.promptModule = inquirer_1.createPromptModule(); | ||
this.promptModule = inquirer.createPromptModule(); | ||
} | ||
@@ -59,0 +59,0 @@ Shell_1 = Shell; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
25631
494