parent
c8af73fda1
commit
68ead0231e
@ -0,0 +1,19 @@ |
||||
#!/usr/bin/python |
||||
import sys |
||||
import datetime |
||||
|
||||
template = """# {date} |
||||
|
||||
## Daily checklist |
||||
|
||||
* [ ] |
||||
* [ ] |
||||
|
||||
## Todo |
||||
|
||||
## Notes""" |
||||
|
||||
date = (datetime.date.today() if len(sys.argv) < 2 |
||||
# Expecting filename in YYYY-MM-DD.foo format |
||||
else sys.argv[1].rsplit(".", 1)[0]) |
||||
print(template.format(date=date)) |
Binary file not shown.
Loading…
Reference in new issue