mapperplus
mapperplus copied to clipboard
Using dynamic path rather than hardcoded
from pathlib import Path
TOOLS_PATH=Path(__file__).resolve().parent
..SNIPP...
cmd = f"node {TOOLS_PATH}mapper.js --url={url} --target={sub_directory}"
subprocess.run(cmd, shell=True)
This improvement will help much,so we can set the mapperplus.py globally in our shell environment and then calling it to run within our target folder, without have to jump inside the folder of the tools everytime we want to run the tools.
Here is what i suggest that we can use #4
Thank you @abdilahrf for your useful suggestions .. this also should be fixed in the next release 💯