# jsonargparse 4.53.0 (MIT), harvested by tools/harvest_corpus.py
=== input
Simple creation of command line interfaces.

    Previously called ``jsonargparse.CLI``, renamed to follow the standard of functions in lowercase.

    Creates an argument parser from one or more functions/classes, parses
    arguments and runs one of the functions or class methods depending on what
    was parsed.

    Inspired by `Fire <https://pypi.org/project/fire/>`__, though with
    fundamental differences: arguments are derived from type hints and
    validated against them, instead of being guessed from the given values; and
    return values are not printed, they are given back to the caller.

    Args:
        components: One or more functions/classes to include in the command line interface.
        args: List of arguments to parse or ``None`` to use ``sys.argv``.
        config_help: Help string for config file option in help.
        set_defaults: Dictionary of values to override components defaults.
        as_positional: Whether to add required parameters as positional arguments.
        return_instance: Whether class components should be instantiated directly and returned,
            i.e. without exposing class methods as subcommands.
        fail_untyped: Whether to raise an exception for parameters that don't have a type:
            True for the required ones, "all" for all of them, False for none.
        parser_class: The :class:`ArgumentParser` subclass to use.
        instantiators: Custom instantiators, see :meth:`.ArgumentParser.instantiate`.
        **kwargs: Used to instantiate :class:`.ArgumentParser`.

    Returns:
        The value returned by the executed function or class method.
    
=== parse google
short_description: 'Simple creation of command line interfaces.'
long_description: |
  Previously called ``jsonargparse.CLI``, renamed to follow the standard of functions in lowercase.
  
  Creates an argument parser from one or more functions/classes, parses
  arguments and runs one of the functions or class methods depending on what
  was parsed.
  
  Inspired by `Fire <https://pypi.org/project/fire/>`__, though with
  fundamental differences: arguments are derived from type hints and
  validated against them, instead of being guessed from the given values; and
  return values are not printed, they are given back to the caller.
blank_after_short_description: True
blank_after_long_description: True
style: google
- DocstringParam
  description: 'One or more functions/classes to include in the command line interface.'
  kind: param
  key: 'param'
  arg_name: 'components'
  is_optional: False
- DocstringParam
  description: 'List of arguments to parse or ``None`` to use ``sys.argv``.'
  kind: param
  key: 'param'
  arg_name: 'args'
  is_optional: False
- DocstringParam
  description: 'Help string for config file option in help.'
  kind: param
  key: 'param'
  arg_name: 'config_help'
  is_optional: False
- DocstringParam
  description: 'Dictionary of values to override components defaults.'
  kind: param
  key: 'param'
  arg_name: 'set_defaults'
  is_optional: False
- DocstringParam
  description: 'Whether to add required parameters as positional arguments.'
  kind: param
  key: 'param'
  arg_name: 'as_positional'
  is_optional: False
- DocstringParam
  description: |
    Whether class components should be instantiated directly and returned,
    i.e. without exposing class methods as subcommands.
  kind: param
  key: 'param'
  arg_name: 'return_instance'
  is_optional: False
- DocstringParam
  description: |
    Whether to raise an exception for parameters that don't have a type:
    True for the required ones, "all" for all of them, False for none.
  kind: param
  key: 'param'
  arg_name: 'fail_untyped'
  is_optional: False
- DocstringParam
  description: 'The :class:`ArgumentParser` subclass to use.'
  kind: param
  key: 'param'
  arg_name: 'parser_class'
  is_optional: False
- DocstringParam
  description: 'Custom instantiators, see :meth:`.ArgumentParser.instantiate`.'
  kind: param
  key: 'param'
  arg_name: 'instantiators'
  is_optional: False
- DocstringParam
  description: 'Used to instantiate :class:`.ArgumentParser`.'
  kind: param
  key: 'param'
  arg_name: '**kwargs'
  is_optional: False
- DocstringReturns
  description: 'The value returned by the executed function or class method.'
  kind: returns
  key: 'returns'
  is_generator: False
=== detect
google
=== compose google
Simple creation of command line interfaces.

Previously called ``jsonargparse.CLI``, renamed to follow the standard of functions in lowercase.

Creates an argument parser from one or more functions/classes, parses
arguments and runs one of the functions or class methods depending on what
was parsed.

Inspired by `Fire <https://pypi.org/project/fire/>`__, though with
fundamental differences: arguments are derived from type hints and
validated against them, instead of being guessed from the given values; and
return values are not printed, they are given back to the caller.

Args:
    components: One or more functions/classes to include in the command line interface.
    args: List of arguments to parse or ``None`` to use ``sys.argv``.
    config_help: Help string for config file option in help.
    set_defaults: Dictionary of values to override components defaults.
    as_positional: Whether to add required parameters as positional arguments.
    return_instance: Whether class components should be instantiated directly and returned,
        i.e. without exposing class methods as subcommands.
    fail_untyped: Whether to raise an exception for parameters that don't have a type:
        True for the required ones, "all" for all of them, False for none.
    parser_class: The :class:`ArgumentParser` subclass to use.
    instantiators: Custom instantiators, see :meth:`.ArgumentParser.instantiate`.
    **kwargs: Used to instantiate :class:`.ArgumentParser`.

Returns:
    The value returned by the executed function or class method.
