Skip to content

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.

2 participants