"""
Configuration management commands.

DEPRECATED: This module contains deprecated functionality that has been replaced
by the S3-based upload system.
"""

import typer
from typing import Optional

# Note: Common module removed - functionality simplified

app = typer.Typer(help="Configuration management (deprecated)")


@app.command("validate")
def validate_config(
    org: str,
    config_file: Optional[str] = typer.Option(None, "--config", help="Configuration file path")
):
    """
    DEPRECATED: Configuration validation for workspace-based system.
    
    This functionality has been replaced by the S3-based upload system.
    """
    print("❌ This command has been deprecated")
    print("Configuration validation has been replaced by the S3-based upload system.")
    print("") 
    print("Please use one of these alternatives:")
    print("  • czbillgen upload generated --config your-config.yaml --dry-run")
    print("  • czbillgen list-datasets  # To see available datasets")
    print("")
    print("For more information, see the updated upload documentation.")
    raise typer.Exit(1)