Return result in diff_command instead of printing
Utkarsh1308 opened this issue · comments
Returning the result will make it easier to get the xml diff when the xmldiff library is imported in other projects,
The result is being returned, so I'm not sure what you are saying.
I'm suggesting return result
instead of printing the result on this line
This way we can save the diff to a variable using something like
xmldiff = main.diff_command(args)
No, that is an internal function which is called when you run it as a command line command, it needs to print it. Use the documented API functions instead, they do what you want.