Retrieve the name of the function argument linked to the given parser.

    Args:
        parser: a function parser

def _get_args_name_from_parser(parser):
    """Retrieve the name of the function argument linked to the given parser.

    Args:
        parser: a function parser
    """
    # Retrieve the 'action' destination of the method parser i.e. its
    # argument name. The HelpAction is ignored.
    return [action.dest for action in parser._actions if not
            isinstance(action, argparse._HelpAction)]