First commit.

This commit is contained in:
maste9 2015-01-24 00:05:06 +01:00 committed by Homer S
parent d6b9198953
commit f6f140735e
7 changed files with 12 additions and 0 deletions

0
README Normal file
View File

0
picoblogger/__init__.py Normal file
View File

12
picoblogger/main.py Normal file
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.")

0
picoblogger/main.py~ Normal file
View File

View File

View File

0
setup.py Normal file
View File