updates
This commit is contained in:
@@ -8,8 +8,6 @@ argparser = argparse.ArgumentParser(
|
|||||||
|
|
||||||
subparsers = argparser.add_subparsers(dest='command', required=True)
|
subparsers = argparser.add_subparsers(dest='command', required=True)
|
||||||
|
|
||||||
#argparser.add_argument('--init', action='store_true', help = 'Initialize new site')
|
|
||||||
#argparser.add_argument('--content', '--edit', type = str, help = 'Create new content')
|
|
||||||
subparsers.add_parser('init', help = 'Initialize new site.')
|
subparsers.add_parser('init', help = 'Initialize new site.')
|
||||||
subparsers.add_parser('build', help = "Build the site from existing content.")
|
subparsers.add_parser('build', help = "Build the site from existing content.")
|
||||||
new_content = subparsers.add_parser('create', aliases = ['new'], help = "Create a new content file.")
|
new_content = subparsers.add_parser('create', aliases = ['new'], help = "Create a new content file.")
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ from collections import defaultdict
|
|||||||
import markdown
|
import markdown
|
||||||
import frontmatter
|
import frontmatter
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
from logger import logger
|
from logger import logger
|
||||||
from config import config
|
from config import config
|
||||||
#from jinja_env import env, content_item_template, index_template
|
#from jinja_env import env, content_item_template, index_template
|
||||||
|
|||||||
Reference in New Issue
Block a user