code: def get_params():
      
      parser = argparse.ArgumentParser()
      parser.add_argument("--connect-timeout",
                          type=float,
                          default=10.0,
                          help="ZK connect timeout")
      parser.add_argument("--run-once",
                          type=str,
                          default="",
                          help="Run a command non-interactively and exit")
      parser.add_argument("--run-from-stdin",
                          action="store_true",
                          default=False,
                          help="Read cmds from stdin, run them and exit")
      parser.add_argument("--sync-connect",
                          action="store_true",
                          default=False,
                          help="Connect synchronously.")
      parser.add_argument("--readonly",
                          action="store_true",
                          default=False,
                          help="Enable readonly.")
      parser.add_argument("--tunnel",
                          type=str,
                          help="Create a ssh tunnel via this host",
                          default=None)
      parser.add_argument("--version",
                          action="store_true",
                          default=False,
                          help="Display version and exit.")
      parser.add_argument("hosts",
                          nargs="*",
                          help="ZK hosts to connect")
      params = parser.parse_args()
      return CLIParams(
          params.connect_timeout,
          params.run_once,
          params.run_from_stdin,
          params.sync_connect,
          params.hosts,
          params.readonly,
          params.tunnel,
          params.version
      )
docs: get the cmdline params