code: def base(context, config, database, root, log_level):
      
      coloredlogs.install(level=log_level)
      context.obj = ruamel.yaml.safe_load(config) if config else {}
      context.obj['database'] = database if database else context.obj['database']
      context.obj['root'] = root if root else context.obj['root']
docs: Housekeeper - Access your files!