def main():
    "Main entry point for demimove-ui."
    startdir = os.getcwd()
    configfile = None
    try:
        args = docopt(__doc__, version="0.2")
#         args["-v"] = 3  # Force debug logging
        fileop = fileops.FileOps(verbosity=args["-v"],
                                 quiet=args["--quiet"])
        if args["<path>"]:
            startdir = args["<path>"]
        if args["--config"]:
            configfile = args["--config"]
    except __HOLE__:
        fileop = fileops.FileOps()
        log.error("Please install docopt to use the CLI.")

    app = QtGui.QApplication(sys.argv)
    app.setApplicationName("demimove-ui")
    gui = DemiMoveGUI(startdir, fileop, configfile)
    gui.show()
    sys.exit(app.exec_())
dataset/ETHPy150Open mikar/demimove/demimove/gui.py/main