Skip to content

Commit

Permalink
feat: Allow user to specify a format for stdout, updated readme and f…
Browse files Browse the repository at this point in the history
…ormat short form (#242)
  • Loading branch information
Yogesh Tewari committed Aug 2, 2021
1 parent 4522073 commit bb6610d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ data-validation run
--labels or -l KEY1=VALUE1,KEY2=VALUE2
(Optional) Comma-separated key value pair labels for the run.
--verbose or -v Verbose logging will print queries executed
--format or -fmt Pretty Printing command output, Supported formats are (text, csv, json, table)
```

The default aggregation type is a 'COUNT *'. If no aggregation flag (i.e count,
Expand Down
2 changes: 1 addition & 1 deletion data_validation/cli_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def _configure_run_parser(subparsers):
)
run_parser.add_argument(
"--format",
"-format",
"-fmt",
default="table",
help="Set the format for printing command output",
)
Expand Down

0 comments on commit bb6610d

Please sign in to comment.