aboutsummaryrefslogtreecommitdiff
path: root/cli/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cli.py')
-rw-r--r--cli/cli.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/cli.py b/cli/cli.py
index ad081fb7..33bd1422 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -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))