First commit.

This commit is contained in:
maste9 authored and Homer S committed 2020-04-14 23:30:46 +02:00
1 parent d6b9198953
commit f6f140735e
7 files changed
+12

No files matched your search

View File
Whitespace-only changes.
View File
Whitespace-only changes.
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/python3
from argparse import ArgumentParser
# check for arguments and options
parser = ArgumentParser(description="Manage your weblog via commandline. Creates a static html5 compliant website with your publications.")
parser.add_argument('--blog_dir', default='~/public_html/blog', help='path to blog directory (default: %(default)s)')
parser.add_argument('action', choices=['update'], help='updates blog to current state')
args = parser.parse_args()
if vars(args)['action'] == 'update':
print("Updating your block.")
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.
View File
Whitespace-only changes.