blog/newpost.py
Marvin Steadfast 1426c4b732 using docker and vagrant for blogging environment
also added cookiecutter for easier blog post creation.
2015-08-23 13:47:31 +02:00

8 lines
192 B
Python

from cookiecutter.main import cookiecutter
from datetime import datetime
cookiecutter(
'cookiecutter-new-post',
extra_context={'date': datetime.utcnow().strftime('%Y-%m-%d %H:%M')})