From 007a2492bdd74e11e802ff2d3e9457287381e889 Mon Sep 17 00:00:00 2001 From: ines Date: Sun, 26 Mar 2017 15:40:50 +0200 Subject: [PATCH] Remove train_config command for now --- spacy/__main__.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/spacy/__main__.py b/spacy/__main__.py index 598635a9b..6e96893ea 100644 --- a/spacy/__main__.py +++ b/spacy/__main__.py @@ -9,7 +9,6 @@ from spacy.cli import link as cli_link from spacy.cli import info as cli_info from spacy.cli import package as cli_package from spacy.cli import train as cli_train -from spacy.cli import train_config as cli_train_config class CLI(object): @@ -97,17 +96,6 @@ class CLI(object): not no_parser, not no_ner, parser_L1) - @plac.annotations( - config=("config", "positional", None, str), - ) - def train_config(self, config): - """ - Train a model from config file. - """ - - cli_train_config(config) - - def __missing__(self, name): print("\n Command %r does not exist." "\n Use the --help flag for a list of available commands.\n" % name)