find-work/find_work/types/_config.py
Anna “CyberTailor” ae896790e3
*/*: make better use of Pydantic models
This is a big messy commit that extends use of Pydantic for
serialization and deserialization.
2024-04-27 04:29:48 +05:00

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()