Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 560 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 560 Bytes

new_post

Python program that generates Jekyll blog posts. Posts are generated using python template strings.

$ ./new_post.py -h
usage: new_post.py [-h] [-d DIR] [-c categories [categories ...]] name title

Generate blog post file

positional arguments:
  name                  the name of the file to write
  title                 blog title

optional arguments:
  -h, --help            show this help message and exit
  -d DIR, --dir DIR     output directory (default: .)
  -c categories [categories ...], --categories categories [categories ...]