As a result, explicitly support pathlib.Path objects as arguments. Also added tests for the CLI interface.