def main():
    cwd = os.getcwd()
    logging.basicConfig(level=logging.INFO, format='%(message)s')
    tree = CommandTree()
    googkit.lib.plugin.load(tree)

    arg = ArgumentParser.parse(sys.argv)

    if not arg.commands and arg.option('--version'):
        print_version()
        sys.exit()

    CommandClass = tree.command_class(arg.commands)
    if CommandClass is None:
        Help(tree, arg).print_help()
        sys.exit()

    try:
        env = Environment(cwd, arg, tree)
        command = CommandClass(env)
        command.run()
    except InvalidOptionError as e:
        logging.error(_('[Error] {message}').format(message=str(e)))
        Help(tree, arg).print_help()
        sys.exit(1)
    except GoogkitError as e:
        logging.error(_('[Error] {message}').format(message=str(e)))
        sys.exit(1)
Takes an album_id and returns the artist_id
dataset/ETHPy150Open googkit/googkit/googkit/__init__.py/main--crossover with--dataset/ETHPy150Open bahamas10/Viridian/AmpacheTools/dbfunctions.py/get_artist_id