fix main so it builds the website also

This commit is contained in:
Anish Lakhwara 2022-02-26 22:03:57 +10:00
parent 55094a3367
commit 9ce31eef66

View file

@ -1,10 +1,8 @@
import click
from grab import makePublic
from shared import TagHelper
from build import build
@click.command()
def grab():
all_files = TagHelper.getAllFiles()
filtered_files = makePublic.filterFiles(all_files)
@ -13,14 +11,15 @@ def grab():
makePublic.censorFiles()
@click.command()
def build_website():
print('building websites')
build.generate_website()
@click.command()
def main():
print('in main')
grab()
print('going to build')
build_website()