ansible.utils/plugins/plugin_utils/base/cli_parser.py

18 lines
414 B
Python
Raw Normal View History

"""
The base class for cli_parsers
"""
from __future__ import absolute_import, division, print_function
__metaclass__ = type
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