ae896790e3
This is a big messy commit that extends use of Pydantic for serialization and deserialization.
17 lines
267 B
Python
17 lines
267 B
Python
# SPDX-License-Identifier: WTFPL
|
|
# SPDX-FileCopyrightText: 2024 Anna <cyber@sysrq.in>
|
|
# No warranty
|
|
|
|
"""
|
|
Type definitions for configuration file.
|
|
"""
|
|
|
|
from enum import Enum, auto
|
|
|
|
|
|
class CliOptionKind(Enum):
|
|
SIMPLE = auto()
|
|
|
|
OPTION = auto()
|
|
FLAG = auto()
|