fix(core): update

This commit is contained in:
2018-09-30 22:36:30 +02:00
parent 7750f1fbf5
commit 4b87004478
4 changed files with 95 additions and 327 deletions

View File

@ -1,4 +1,4 @@
import * as smartq from 'smartq';
import * as smartpromise from '@pushrocks/smartpromise';
import { Subject } from 'rxjs';
import * as plugins from './smartcli.plugins';
@ -23,7 +23,7 @@ export interface ITriggerObservableObject {
export class Smartcli {
argv: any;
questionsDone;
parseStarted: smartq.Deferred<any>;
parseStarted: smartpromise.Deferred<any>;
commands;
questions;
version: string;
@ -39,8 +39,8 @@ export class Smartcli {
*/
constructor() {
this.argv = plugins.yargs;
this.questionsDone = smartq.defer();
this.parseStarted = smartq.defer();
this.questionsDone = smartpromise.defer();
this.parseStarted = smartpromise.defer();
}
/**

View File

@ -2,6 +2,6 @@ import * as yargs from 'yargs';
import * as smartlog from '@pushrocks/smartlog';
import * as lik from '@pushrocks/lik';
import * as path from 'path';
import * as smartparam from 'smartparam';
import * as smartparam from '@pushrocks/smartparam';
export { yargs, smartlog, lik, path, smartparam };