@oclif/multi-stage-output 0.4.3-dev.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ You can see examples of how to use it in the [examples](./examples/) directory.
|
|
|
23
23
|
You can run any of these with the following:
|
|
24
24
|
|
|
25
25
|
```
|
|
26
|
-
|
|
26
|
+
tsx examples/basic.ts
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
# Usage
|
|
@@ -63,7 +63,7 @@ const ms = new MultiStageOutput<{message: string; staticValue: string; dynamicVa
|
|
|
63
63
|
jsonEnabled: false,
|
|
64
64
|
stages: ['stage 1', 'stage 2', 'stage 3'],
|
|
65
65
|
// preStagesBlock will be displayed BEFORE the list of stages
|
|
66
|
-
|
|
66
|
+
preStagesBlock: [
|
|
67
67
|
{
|
|
68
68
|
get: (data) => data?.message,
|
|
69
69
|
type: 'message',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oclif/multi-stage-output",
|
|
3
3
|
"description": "Terminal output for oclif commands with multiple stages",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/oclif/multi-stage-output/issues",
|
|
7
7
|
"dependencies": {
|