simfile-smoketest/smoketest/args.py
2022-07-22 17:48:29 -07:00

24 lines
501 B
Python

import os
from typing import Optional
from tap import Tap
__all__ = ["SmoketestArgs"]
class SmoketestArgs(Tap):
songs_dir: Optional[str] = None
"""directory of packs to scan"""
pack_dir: Optional[str] = None
"""single pack directory to scan"""
new_only: bool = False
"""only scan newly discovered simfiles"""
error_only: bool = False
"""only scan simfiles that have previously errored"""
init_db: bool = False
"""initialize the database with tables"""