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

dkan-init: Warn the user if they're about to lose work #9

Closed
paul-m opened this issue Aug 26, 2022 · 0 comments · Fixed by #11
Closed

dkan-init: Warn the user if they're about to lose work #9

paul-m opened this issue Aug 26, 2022 · 0 comments · Fixed by #11

Comments

@paul-m
Copy link
Collaborator

paul-m commented Aug 26, 2022

Maybe you're a user and you type dkan-init even though you meant to type something else. This leads to destroying the project and re-initializing it.

Let's add a check for existing work in the directory which causes the command to stop. We also add a way to force it to happen, such as --force.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant