unvt / charites

It is an application to style vector tiles easily
https://unvt.github.io/charites/
MIT License
51 stars 13 forks source link

Add error message when target directory of `--sprite-input `and/or `--sprite-output` is not exist. #79

Closed naogify closed 2 years ago

naogify commented 2 years ago

Describe the bug

When I run charites build style.yml style.json --sprite-input noExistDir --sprite-output noExistDir, I don't get any error message even if the directory specified in the --sprite-input and/or --sprite-output is missing.

To Reproduce

In the example below, noExistDir is a directory that does not exist.

charites build style.yml style.json --sprite-input icons --sprite-output noExistDir
charites build style.yml style.json --sprite-input icons --sprite-output noExistDir

Expected behavior

It should show error message.

Screenshots

Charites Version:

Desktop (please complete the following information):