Just process the command line options and commands
    :return:

def process_docopts(test=None):  # type: (Optional[Dict[str,Any]])->None
    """
    Just process the command line options and commands
    :return:
    """
    if test:
        arguments = test
    else:
        arguments = docopt(__doc__, version="Jiggle Version {0}".format(__version__))

    logger.debug(arguments)

    file_opener = FileOpener()
    central_module_finder = CentralModuleFinder(file_opener)

    if arguments["--module"]:
        central_module = arguments["--module"]
    elif arguments["--project"]:
        # soon to be deprecated in favor of module/package
        central_module = arguments["--project"]
    else:
        # infer it the best we can.
        central_module = central_module_finder.find_central_module()

    if arguments["--init"]:
        force_init = arguments["--init"]
        if force_init == "False":
            force_init = False
        if force_init == "True":
            force_init = True
    else:
        force_init = False

    if arguments["here"]:
        # TODO: find better way to turn debugging on & off
        # console_trace(logging.DEBUG)
        module_finder = ModuleFinder(file_opener)
        guess_src_dir = module_finder.extract_package_dir()
        if not guess_src_dir:
            guess_src_dir = ""

        if not central_module:
            # check if exists first?
            central_module = "setup.py"

        bump_version(
            project=central_module, source=guess_src_dir, force_init=force_init
        )
    elif arguments["find"]:
        # Only show errors. Rest of extraneous console output messes up this:
        # jiggle_version find>version.txt

        if arguments["--project"]:
            central_module = arguments["--project"]

        find_version(project=central_module, source="", force_init=force_init)

    else:
        if arguments["--project"]:
            central_module = arguments["--project"]
        bump_version(
            project=arguments["--project"],
            source=arguments["--source"],
            force_init=force_init,
        )