diff options
author | neodarz <neodarz@neodarz.net> | 2019-05-26 16:26:24 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2019-05-26 16:26:50 +0200 |
commit | 6f36091aa8bf5d4ae446346a945c6217c2493e97 (patch) | |
tree | 2da98fb2e383bced7e992736b734334b5aa2e647 /cli | |
parent | 75dc923f207cccfe4439f46792e624c9c5c230bd (diff) | |
download | my_new_personal_website-6f36091aa8bf5d4ae446346a945c6217c2493e97.tar.xz my_new_personal_website-6f36091aa8bf5d4ae446346a945c6217c2493e97.zip |
Move regenerate to external file
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -7,3 +7,9 @@ def generate(args): """Wrapper for generate_blog(fresh=False).""" # pylint: disable=unused-argument exit(generators.generate_blog(fresh=False)) + + +def regenerate(args): + """Wrapper for generate_blog(fresh=True).""" + # pylint: disable=unused-argument + exit(generators.generate_blog(fresh=True)) |