Comparing version 0.5.6 to 0.6.0
{ | ||
"name": "cli-task", | ||
"version": "0.5.6", | ||
"version": "0.6.0", | ||
"repository": "https://github.com/astoilkov/cli-task", | ||
@@ -5,0 +5,0 @@ "description": "Task runner for developers minimalists", |
@@ -109,2 +109,3 @@ "use strict"; | ||
case Step_1.StepStatus.Initial: | ||
text += ' '; | ||
break; | ||
@@ -111,0 +112,0 @@ case Step_1.StepStatus.Running: |
@@ -12,3 +12,3 @@ import { IRendererOptions } from './Renderer'; | ||
[key: string]: any; | ||
}): this; | ||
}): Task; | ||
private getCurrentStep; | ||
@@ -15,0 +15,0 @@ private execTasks; |
@@ -44,4 +44,7 @@ "use strict"; | ||
withOptions(options) { | ||
this.options = options; | ||
return this; | ||
let copy = new Task(); | ||
copy.options = options; | ||
copy.steps = this.steps; | ||
copy.stateValues = this.stateValues; | ||
return copy; | ||
} | ||
@@ -48,0 +51,0 @@ getCurrentStep() { |
20365
548