pip install obsidian_strip_internal_links
To run this program from the code directly, python
and poetry
(pip install poetry
) are required. Clone or download the repository.
To install all the dependencies, use your command line and navigate to the directory where this README
file is located in. Then run
poetry install
For development installation perform the From source installation.
For installing new packages, always run
poetry add <pip-package-name>
instead of pip install <pip-package-name>
.
Launch the program either check out the Execution section or use the Run and Debug-side panel of VSCode.
If the interpreter of the virtual environment does not show up in VSCode, add it manually. The virtual environments are located in {cache-dir}/virtualenvs/<venv-name>/Scripts/python.exe
where the {cache-dir}
depends on the operating system (~/.cache/pypoetry
, ~/Library/Caches/pypoetry
or C.\Users\%USERNAME%\AppData\Local\pypoetry\Cache
).
To execute the program use
poetry run python -m obsidian_strip_internal_links