-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: new opt config.OnlyColorPrefix
BREAKING CHANGE: this commit introduces the OnlyColorPrefix option, which allows the user to specify wheter or not to color the whole line of stdout+stderr of the process in its color. If it is set to true only the prefix (xx |) is highlighted in the processes color, if it is set to false the whole line is colored. By default this option is enabled to keep the output simple and clean, therefore this commit introduces a breaking change and requires a major version increment in the next release
- Loading branch information
Showing
4 changed files
with
28 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
{ | ||
"color_output": true, | ||
"commands": [ | ||
{ | ||
"cwd": "", | ||
"cmd": "echo 'Hello World from command 1!'" | ||
}, | ||
{ | ||
"cwd": "", | ||
"cmd": "echo 'Hello World from command 2!'" | ||
} | ||
], | ||
"log_file": "gleich.log", | ||
"surpress_output": false | ||
} | ||
"only_color_prefix": true, | ||
"color_output": true, | ||
"commands": [ | ||
{ | ||
"cwd": "", | ||
"cmd": "echo 'Hello World from command 1!'" | ||
}, | ||
{ | ||
"cwd": "", | ||
"cmd": "echo 'Hello World from command 2!'" | ||
} | ||
], | ||
"log_file": "gleich.log", | ||
"surpress_output": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters