fix(core): update
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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 };
|
||||
|
Reference in New Issue
Block a user