feat: add color option to CLI and configuration file
The option is used to force enable/disable color output and is passed to the reporter which should respect it
This commit is contained in:
parent
7bae76f496
commit
f9a16d87a1
14 changed files with 112 additions and 11 deletions
|
|
@ -229,6 +229,13 @@ export type ReporterInitParameters = {
|
|||
* Will only be true when the command is 'up' and the --dry option is specified.
|
||||
*/
|
||||
dry: boolean;
|
||||
/**
|
||||
* Forcibly enable or disable colors in the output.
|
||||
*
|
||||
* If set to true, the reporter should use colors in the output.
|
||||
* If set to false, the reporter should not use colors in the output.
|
||||
*/
|
||||
color?: boolean;
|
||||
};
|
||||
|
||||
export type EmigrateReporter = Partial<{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue