#!/usr/bin/env python3

import os.path
import re
import sys

sys.path.append(os.path.join(os.path.dirname(__file__), ".."))
from ouilookup.cli import cli

if __name__ == "__main__":
    sys.argv[0] = re.sub(r"(-script\.pyw|\.exe)?$", "", sys.argv[0])
    sys.exit(cli())
