""" Entry point for running terminal client as a module. Usage: python -m terminal_client # Start interactive REPL (recommended) python -m terminal_client repl # Start interactive REPL python -m terminal_client # Run standalone command Standalone commands: python -m terminal_client start-game --league sba python -m terminal_client defensive --alignment normal python -m terminal_client offensive --approach power python -m terminal_client resolve python -m terminal_client status """ import sys from terminal_client.repl import start_repl from terminal_client.main import cli if __name__ == "__main__": # If no arguments or 'repl' command, start interactive mode if len(sys.argv) == 1 or (len(sys.argv) == 2 and sys.argv[1] == 'repl'): start_repl() else: # Run as standalone Click commands cli()