From cec76801dc870ae3e1f8682e84126ee69a2a25a2 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Mon, 21 Aug 2017 23:23:05 +0200 Subject: [PATCH] Add profile command to CLI --- spacy/__main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spacy/__main__.py b/spacy/__main__.py index 2b15e4374..d02242d68 100644 --- a/spacy/__main__.py +++ b/spacy/__main__.py @@ -7,6 +7,7 @@ if __name__ == '__main__': import plac import sys from spacy.cli import download, link, info, package, train, convert, model + from spacy.cli import profile from spacy.util import prints commands = { @@ -16,7 +17,8 @@ if __name__ == '__main__': 'train': train, 'convert': convert, 'package': package, - 'model': model + 'model': model, + 'profile': profile, } if len(sys.argv) == 1: prints(', '.join(commands), title="Available commands", exits=1)