nyx/tests/dynamic_fixtures/lang_detect/cli_python

11 lines
251 B
Text
Raw Normal View History

#!/usr/bin/env python3
# Extensionless CLI entry point. Shebang-only language identification.
import os
import sys
def handle_request(payload: str) -> None:
os.system("echo " + payload)
if __name__ == "__main__":
handle_request(sys.argv[1])