code: def add_function_info_command(subparsers):
      ################################################################################
      # Function Info
      subparser = subparsers.add_parser(
          "function_info", help="Output function info."
      )
      subparser.add_argument(
          "-o", "--output", default=None, help="output filename"
      )
      subparser.add_argument(
          "-f",
          "--all_support",
          default=None,
          help="select function set: NNB, ONNX",
      )
      subparser.add_argument(
          "files",
          metavar="FILE",
          type=str,
          nargs="*",
          help="*.nnp files that the function sets want to be shown",
      )
      subparser.add_argument(
          "-c",
          "--config",
          default=None,
          help="user config file for target constraint",
      )
      subparser.add_argument(
          "-x",
          "--exclude",
          action="append",
          default=[],
          help="exclude specified functions",
      )
      subparser.add_argument(
          "-t",
          "--target",
          action="store_true",
          help="specify function set is output for target format/device",
      )
      subparser.add_argument(
          "-q",
          "--query",
          default=None,
          help="query the detail of a function",
      )
      subparser.add_argument(
          "--nnp-no-expand-network",
          action="store_true",
          help="[import][NNP] expand network with repeat or recurrent.",
      )
      subparser.add_argument(
          "--api", type=int, default=0, help="List up api levels"
      )
      subparser.set_defaults(func=function_info_command)
  
file_path: nnabla/python/src/nnabla/utils/cli/func_info.py
imports: import os
  import sys
  import nnabla.utils.converter
label_desc: Use image node_id 2 for calling a global function with example usage: add_function_info_command(subparsers) without return types