#!/usr/bin/env python3
"""
Supreme 2 MAX module entry point
Allows running: python3 -m supreme2l
"""

import sys

if __name__ == '__main__':
    # Check if setup_path submodule is being called
    if len(sys.argv) > 1 and sys.argv[1] == 'setup_path':
        from supreme_max.setup_path import main
        sys.argv.pop(1)  # Remove 'setup_path' from args
        main()
    else:
        # Default: run CLI
        from supreme_max.cli import main
        main()
