This PR adds a check when the CLI starts to ensure the current working directory exists. This can help mitigate weird environmental issues, I know I've launched the CLI from unlinked directories and it wasn't clear what was wrong.
Fixes #502.
Manual test
$ (mkdir ~/testing-wd && cd ~/testing-wd && rm -r ~/testing-wd && bndl -h)
sh: 0: getcwd() failed: No such file or directory
Unable to start CLI due to missing current/working directory.
Change into a new directory and try again.
-> 1
This PR adds a check when the CLI starts to ensure the current working directory exists. This can help mitigate weird environmental issues, I know I've launched the CLI from unlinked directories and it wasn't clear what was wrong.
Fixes #502.
Manual test