text-dedup icon indicating copy to clipboard operation
text-dedup copied to clipboard

Little refactor to allow imports from python instead of cli/subprocess

Open wuodar opened this issue 3 months ago • 2 comments

Currently, there is no real way to import deduplication algorithm and use it as a dependency in my python code without almost totally rewriting the content of main (the code under if __name__ == "__main__") - I think it would be beneficial to simply extract logic to sth. like main() function, and then in real "main" just construct parser, and pass parsed parameters to main.

wuodar avatar Mar 11 '24 13:03 wuodar