code: def _CompletionsFromArgs(fn_args):
      """Takes a list of fn args and returns a list of the fn's completion strings.
  
      Args:
        fn_args: A list of the args accepted by a function.
      Returns:
        A list of possible completion strings for that function.
      """
      completions = []
      for arg in fn_args:
          arg = arg.replace("_", "-")
          completions.append("--{arg}".format(arg=arg))
      return completions
  
file_path: python-fire/fire/completion.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import copy
  import inspect
  from fire import inspectutils
  import six
label_desc: Use image node_id 6 for calling a global function with example usage: _CompletionsFromArgs(fn_args) and returns: completions