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

Add yes/no options #137

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add yes/no options #137

wants to merge 1 commit into from

Conversation

whikloj
Copy link

@whikloj whikloj commented Mar 7, 2023

I have some templates stored in the database to allow users to edit the text, but if I change the templates and want to refresh them from disk using the sync_templates function I ended up having to press <Enter> for all the template files that are not in the database.

This just allows you to say yes or no to all the "N template does not exist in the database. Create it with X?"

Technically --yes and --force have the same effect, so I can remove that option. It just seemed weird to only have --no. I'm open to feedback. Perhaps some sort of --dont-ask option instead.

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 this pull request may close these issues.

1 participant