diff --git a/sakara.py b/sakara.py index be17b58..53e920a 100755 --- a/sakara.py +++ b/sakara.py @@ -3,8 +3,12 @@ import os import shutil +### USAGE + + + # from command line, yaml file or env vars -def parse_options(filename="conf.yaml"): +def parse_options(filename="anansesem.yaml"): import yaml with open(filename) as stream: try: @@ -149,7 +153,7 @@ def convert_text_format(conf): ) print(infile) ## MAIN -conf=parse_options() +conf=parse_options("anansesem.yaml") project_dir=create_project_dir(conf) create_skel(project_dir, conf) infiles=conf['project-options']['infiles']