You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

22 lines
502 B

from .config import Config
from .passwords import Manager
def main():
config_file = "config/config.yml" #TODO: take as arg
with open(config_file) as f:
config = Config( f )
(ok, err) = config.is_correct()
if not ok:
print(f"Configuration error: {err}")
exit(255)
for data_import in config.data_imports():
print(data_import)
#-------------------------------------------------------------------------------
if __name__ == "__main__":
main()