Ejemplo n.º 1
0
    print()

    eingabe = get_input()

    if eingabe is not None and not eingabe == "":

        command = eingabe.split()

        operator = command[0].lower()
        packages = command[1:]

        if "install" == operator.lower():
            print()

            for i in packages:
                Install.install_mod(i, str(Install.getModData(i, csv_file, 7)), m.directory, csv_list),


        elif "update" == operator.lower():

            # TODO Check if working
            m.get_update()

        elif "uninstall" == operator.lower():
            Uninstall.uninstall("ccl", m.directory)

        elif "upgrade" == operator.lower():
            Install.updateMods(csv_list, m.directory)

        elif "help" == operator.lower():
            print("WORKING")