@@ -33,9 +33,9 @@ long-running-command 2>&1 | progressline
33
33
34
34
## Features
35
35
36
- ### Change Activity Indicator Styles
36
+ ### Change activity indicator styles
37
37
38
- ** ProgressLine** offers different styles to represent activity, they can be changed using ` -s, --activity-style ` argument :
38
+ ProgressLine offers different styles to represent activity, they can be changed using ` -s, --activity-style ` option :
39
39
40
40
``` sh
41
41
long-running-command | progressline --activity-style snake
@@ -47,21 +47,25 @@ Available styles:
47
47
| :--:| :--:| :--:|
48
48
| ![ ] ( ./.github/activity_style_dots.gif ) | ![ ] ( ./.github/activity_style_snake.gif ) | ![ ] ( ./.github/activity_style_kitt.gif ) |
49
49
50
+ ### Replace log output with custom text
51
+
52
+ If you don't need to see the log output during execution, even in a single line, you can replace it with your own text using the ` -t, --static-text ` option.
53
+
54
+ ``` sh
55
+ long-running-command | progressline --static-text " Updating sources..."
56
+ ```
57
+
50
58
### Highlight important lines
51
59
52
- Log specific stdin lines above the progress line using the ` -m, --log-matches ` argument :
60
+ Log specific stdin lines above the progress line using the ` -m, --log-matches ` option :
53
61
54
62
``` sh
55
63
long-running-command | progressline --log-matches " regex-1" --log-matches " regex-2"
56
64
```
57
65
58
- | output |
59
- | :--:|
60
- | ![ ] ( ./.github/progressline_matches_output.png ) |
61
-
62
66
### Use progress line as an addition to standard output
63
67
64
- Log all stdin data above the progress line using the ` -a, --log-all ` argument :
68
+ Log all stdin data above the progress line using the ` -a, --log-all ` option :
65
69
66
70
``` sh
67
71
long-running-command | progressline --log-all
@@ -77,7 +81,7 @@ You have two options for saving the full original log:
77
81
long-running-command | tee original-log.txt | progressline
78
82
```
79
83
80
- 2 . Using ` -l, --original-log-path ` argument :
84
+ 2 . Using ` -l, --original-log-path ` option :
81
85
82
86
``` sh
83
87
long-running-command | progressline --original-log-path original-log.txt
0 commit comments