summaryrefslogtreecommitdiff
path: root/megapixels/commands/site
diff options
context:
space:
mode:
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()