[x] The PR contains a description of what has been changed
[x] The description contains manual test instructions
Changes
Adds an export of the main function in preparation of making this a NPM package. Adds different code paths if the code is run through the CLI or imported as a module. Also adds properties to the function to set the path.
Changes
Adds an export of the main function in preparation of making this a NPM package. Adds different code paths if the code is run through the CLI or imported as a module. Also adds properties to the function to set the path.
Partially adresses #2 and fixes #1
Test
Test that the new path options work as intended