mirror of
https://github.com/Mic92/nix-update.git
synced 2024-11-05 02:16:07 +03:00
23 lines
574 B
Python
23 lines
574 B
Python
from dataclasses import dataclass
|
|
from typing import Optional
|
|
|
|
from .version.version import VersionPreference
|
|
|
|
|
|
@dataclass
|
|
class Options:
|
|
attribute: str
|
|
version: str = "stable"
|
|
version_preference: VersionPreference = VersionPreference.STABLE
|
|
version_regex: str = "(.*)"
|
|
import_path: str = "./."
|
|
override_filename: Optional[str] = None
|
|
commit: bool = False
|
|
write_commit_message: Optional[str] = None
|
|
shell: bool = False
|
|
run: bool = False
|
|
build: bool = False
|
|
test: bool = False
|
|
review: bool = False
|
|
format: bool = False
|