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(
9898 "tsv" : "excel-tab" ,
9999 }
100100
101+ click .echo (f"Starting diff: '{ previous } ' vs '{ current } '..." )
102+
101103 # Set default output filename if needed
102104 if output == "jsonfile" :
103105 if not output_file :
@@ -183,13 +185,16 @@ def load(filename, key):
183185
184186 if output == "json" :
185187 print (std_json .dumps (diff , indent = 4 ))
188+ click .echo ("Finished. Output printed as JSON to terminal." )
186189 elif output == "jsonfile" :
187190 with open (output_file , "w" , encoding = encoding ) as f :
188191 f .write (std_json .dumps (diff , indent = 4 ))
192+ click .echo (f"Finished. Output saved to file: { output_file } " )
189193 else :
190194 print (
191195 human_text (diff , key , current = current_data )
192196 )
197+ click .echo ("Finished. Output printed in readable format to terminal." )
193198
194199 if show_time :
195200 end = time_module .time ()
You can’t perform that action at this time.
0 commit comments