Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
ansible / ansible / netcommon / plugins / module_utils / cli_parser / cli_parserbase.py
Size: Mime:
"""
The base class for cli_parsers
"""
from __future__ import absolute_import, division, print_function

__metaclass__ = type

#  TODO: Remove this file after ansible.netcommon.cli_parse module is removed
#  since this class is moved in ansible.utils collection.


class CliParserBase:
    """The base class for cli parsers
    Provides a  _debug function to normalize parser debug output
    """

    def __init__(self, task_args, task_vars, debug):
        self._debug = debug
        self._task_args = task_args
        self._task_vars = task_vars