aboutsummaryrefslogtreecommitdiff
path: root/cli/cli.py
blob: 33bd14229909328230c2a72a87e2ffdbbda4b880 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#/bin/python3

from generators import generators


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))