Skip to content

Commit 175e75e

Browse files
committed
Improve logging
1 parent 3daed47 commit 175e75e

File tree

5 files changed

+501
-40
lines changed

5 files changed

+501
-40
lines changed

bin/test-redirection.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ cli
3232
.option('-p, --parser [parser]', 'Define which parser should be used: json or csv.')
3333
.option('--csv-delimiter [delimiter]', 'Define the delimiter of the input CSV file, can be a string or a RegExp.')
3434
.option('--replace-host [host]', 'Replace host for both the `from` and `to` parameters.')
35+
.option('-v, --verbose', 'Log all redirections.')
36+
.option('--only-errors', 'Log only errors.')
3537
.action((configPath, options) => {
3638
const resolvedConfigPath = resolve(process.cwd(), configPath);
3739

0 commit comments

Comments
 (0)