mirror of
https://github.com/explosion/spaCy.git
synced 2024-09-21 03:19:13 +03:00
8 lines
231 B
Python
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")
|