Skip to content

Commit 84243ac

Browse files
committed
updates
1 parent 6778882 commit 84243ac

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
/Scripts
1212
/Lib
1313
/pip-selfcheck.json
14+
/output.json
1415
/tmp
1516
.Python
1617
/include

src/deltacode/cli.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ def write_json(deltacode, outfile, all_delta_types=False):
5555
# TODO: add toggle for pretty printing
5656
simplejson.dump(results, outfile, iterable_as_array=True, indent=2)
5757
outfile.write('\n')
58+
# Output delta_stats at cli
59+
status=deltacode.stats.to_dict()
60+
click.echo("\nDelta stats .....\n")
61+
for stat, value in status.iteritems():
62+
click.echo(str(stat) + " : " + str(value))
5863

5964

6065
def print_version(ctx, param, value):

0 commit comments

Comments
 (0)