diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-15 22:04:41 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-15 22:04:41 +0100 |
| commit | b1e7dc570fe25749a2e1b02c9e859df6588b4660 (patch) | |
| tree | 1c8392e77c6f85b64cc369cdc2a90b174daf7f3a /megapixels/commands/site | |
| parent | 67cd70621b7dca679cd930de66d883e0610a1427 (diff) | |
move builder
Diffstat (limited to 'megapixels/commands/site')
| -rw-r--r-- | megapixels/commands/site/build.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/megapixels/commands/site/build.py b/megapixels/commands/site/build.py new file mode 100644 index 00000000..fc4fb302 --- /dev/null +++ b/megapixels/commands/site/build.py @@ -0,0 +1,15 @@ +""" +Build the static site +""" + +import click + +from app.builder.builder import build_site + +@click.command() +@click.pass_context +def cli(ctx): + """Build the static site + """ + print('Building the site...') + build_site() |
