File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ def cli(
98
98
"tsv" : "excel-tab" ,
99
99
}
100
100
101
+ click .echo (f"Starting diff: '{ previous } ' vs '{ current } '..." )
102
+
101
103
# Set default output filename if needed
102
104
if output == "jsonfile" :
103
105
if not output_file :
@@ -183,13 +185,16 @@ def load(filename, key):
183
185
184
186
if output == "json" :
185
187
print (std_json .dumps (diff , indent = 4 ))
188
+ click .echo ("Finished. Output printed as JSON to terminal." )
186
189
elif output == "jsonfile" :
187
190
with open (output_file , "w" , encoding = encoding ) as f :
188
191
f .write (std_json .dumps (diff , indent = 4 ))
192
+ click .echo (f"Finished. Output saved to file: { output_file } " )
189
193
else :
190
194
print (
191
195
human_text (diff , key , current = current_data )
192
196
)
197
+ click .echo ("Finished. Output printed in readable format to terminal." )
193
198
194
199
if show_time :
195
200
end = time_module .time ()
You can’t perform that action at this time.
0 commit comments