Repository URL to install this package:
|
Version:
6.0.0 ▾
|
"""
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