meeb / django-distill

Minimal configuration static site generator for Django
MIT License
441 stars 35 forks source link

distill-local --force --collectstatic : asks for permission to collect static #53

Closed julzhk closed 2 years ago

julzhk commented 2 years ago

This isn't a big deal but it's a little unexpected behaviour, so might be worth making a point in the documentation.

meeb commented 2 years ago

Thanks, a reasonable point. I've just added --no-input to the internal call to collectstatic from Distill. This will stop the yes/no confirmation question from being raised. Given --collectstatic is an opt-in flag to distill-local this is probably fine.