cli-engine-command
Advanced tools
Comparing version 9.0.0-ts.1 to 9.0.0-ts.2
@@ -0,1 +1,2 @@ | ||
/// <reference types="chalk" /> | ||
import { InputFlags, InputArgs, OutputArgs, OutputFlags } from 'cli-flags'; | ||
@@ -5,2 +6,3 @@ import { Config, ConfigOptions, Plugin, ICommand } from 'cli-engine-config'; | ||
import { CLI } from 'cli-ux'; | ||
import chalk = require('chalk'); | ||
export interface IMockOutput<T extends Command> { | ||
@@ -35,2 +37,3 @@ cmd: T; | ||
args: OutputArgs; | ||
color: typeof chalk; | ||
constructor(config?: ConfigOptions); | ||
@@ -37,0 +40,0 @@ readonly out: CLI; |
@@ -28,2 +28,3 @@ "use strict"; | ||
this.config = cli_engine_config_1.buildConfig(config); | ||
this.color = require('chalk'); | ||
const { CLI } = require('cli-ux'); | ||
@@ -30,0 +31,0 @@ this.cli = new CLI({ debug: this.config.debug, mock: this.config.mock, errlog: this.config.errlog }); |
{ | ||
"name": "cli-engine-command", | ||
"description": "base CLI command for cli-engine", | ||
"version": "9.0.0-ts.1", | ||
"version": "9.0.0-ts.2", | ||
"author": "Jeff Dickey @dickeyxxx", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/cli-engine-command/issues", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11318
261