24 lines
501 B
Python
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"""
|