summaryrefslogtreecommitdiff
path: root/megapixels/commands/site
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-12-15 22:04:41 +0100
committerJules Laplace <julescarbon@gmail.com>2018-12-15 22:04:41 +0100
commitb1e7dc570fe25749a2e1b02c9e859df6588b4660 (patch)
tree1c8392e77c6f85b64cc369cdc2a90b174daf7f3a /megapixels/commands/site
parent67cd70621b7dca679cd930de66d883e0610a1427 (diff)
move builder
Diffstat (limited to 'megapixels/commands/site')
-rw-r--r--megapixels/commands/site/build.py15
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()