@ -31,6 +31,7 @@ def wrap(input: str, ws_base, max_length=70) -> str:
class NagObjectType(Enum):
Command = "command"
Comment = "comment"
ContactGroup = "contactgroup"
Contact = "contact"
HostDependency = "hostdependency"
@ -4,6 +4,7 @@ from enum import Enum, auto
from nag_object import NagObject, NagObjectType
class ParserState(Enum):
COMMENT = auto()
DEFINE = auto()
DIRECTIVE = auto()
MULTILINE = auto()