Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notify user if the specified directory does not exist #1

Open
andria-dev opened this issue Nov 14, 2019 · 0 comments
Open

Notify user if the specified directory does not exist #1

andria-dev opened this issue Nov 14, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed react

Comments

@andria-dev
Copy link
Owner

When specifying a directory with the --out=path/to/directory/ flag, if the directory does not exist, none of the icons will be created. While the user is notified that none of the icons were created, they don't know that it's because the directory doesn't exist.

A simple solution would be to display a message saying that the specified directory does not exist and then exiting.

Another option would be to create the directory for them (if possible, if it fails then default to error message and exiting).

@andria-dev andria-dev added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers react labels Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed react
Projects
None yet
Development

No branches or pull requests

1 participant