code: def write_usage(self, prog, args="", **_kw):
      self._val["usage"] = {"prog": prog, "args": args}
  
imports: import contextlib
  import functools
  import json
  import os
  import re
  import click
  from click import shell_completion
  import guild
  from guild import python_util
label_desc: Use image node_id 2 for calling the JSONHelpFormatter obj's underlying member method code with example usage: obj.write_usage(prog, args) without return types