Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
"""Main entry point allowing external calls"""
args = parse_args()
config_helpers.ensure_config_directory(args.config)
setup_logging(args.loglevel)
ledfx = LedFxCore(config_dir = args.config)
ledfx.start(open_ui = args.open_ui)