docs: def create_argparser():
      """Instantiate an `argparse.ArgumentParser`.
  
      Adds all basic cli options including default values.
      """
      parser = argparse.ArgumentParser()
      arg_defaults = {
          "daemon": False,
          "loop": False,
          "listpresets": False,
          "config": None,
          "debug": False,
          "sleeptime": 300,
          "version": False,
          "verbose_count": 0
      }
  
      # add generic client options to the CLI:
      parser.add_argument("-c", "--config", dest="config",
                          help="config file", default=arg_defaults["config"])
      parser.add_argument("--list-presets", dest="listpresets",
                          help="list all available presets",
                          action="store_true", default=arg_defaults["listpresets"])
      parser.add_argument("-d", "--daemon", dest="daemon",
                          help="go into daemon mode (implies --loop)",
                          action="store_true", default=arg_defaults["daemon"])
      parser.add_argument("--debug", dest="debug",
                          help="increase logging level to DEBUG (DEPRECATED, please use -vvv)",
                          action="store_true", default=arg_defaults["debug"])
      parser.add_argument("--loop", dest="loop",
                          help="loop forever (default is to update once)",
                          action="store_true", default=arg_defaults["loop"])
      parser.add_argument("--sleeptime", dest="sleeptime",
                          help="how long to sleep between checks in seconds",
                          default=arg_defaults["sleeptime"])
      parser.add_argument("--version", dest="version",
                          help="show version and exit",
                          action="store_true", default=arg_defaults["version"])
      parser.add_argument("-v", "--verbose", dest="verbose_count",
                          action="count", default=arg_defaults["verbose_count"],
                          help="increases log verbosity for each occurrence")
  
      return parser, arg_defaults