spaCy/spacy/__main__.py
2020-06-21 21:35:01 +02:00

8 lines
231 B
Python

from spacy.cli import app
from typer.main import get_command
if __name__ == "__main__":
command = get_command(app)
# Ensure that the help messages always display the correct prompt
command(prog_name="python -m spacy")