mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-10 16:22:29 +03:00
Update radicli and add parent placeholder
This commit is contained in:
parent
5443014445
commit
c950469966
|
@ -11,7 +11,7 @@ srsly>=2.4.3,<3.0.0
|
|||
catalogue>=2.0.6,<2.1.0
|
||||
pathy>=0.10.0
|
||||
smart-open>=5.2.1,<7.0.0
|
||||
radicli>=0.0.1,<1.0.0
|
||||
radicli>=0.0.2,<1.0.0
|
||||
# Third party dependencies
|
||||
numpy>=1.15.0
|
||||
requests>=2.13.0,<3.0.0
|
||||
|
|
|
@ -41,7 +41,7 @@ install_requires =
|
|||
wasabi>=0.9.1,<1.2.0
|
||||
srsly>=2.4.3,<3.0.0
|
||||
catalogue>=2.0.6,<2.1.0
|
||||
radicli>=0.0.1,<1.0.0
|
||||
radicli>=0.0.2,<1.0.0
|
||||
# Third-party dependencies
|
||||
pathy>=0.10.0
|
||||
smart-open>=5.2.1,<7.0.0
|
||||
|
|
|
@ -36,7 +36,6 @@ HELP = """spaCy Command-line Interface
|
|||
DOCS: https://spacy.io/api/cli
|
||||
"""
|
||||
|
||||
# TODO: need to find a way to inject these now
|
||||
PROJECT_HELP = f"""Command-line interface for spaCy projects and templates.
|
||||
You'd typically start by cloning a project template to a local directory and
|
||||
fetching its assets like datasets etc. See the project's {PROJECT_FILE} for the
|
||||
|
@ -51,6 +50,10 @@ INIT_HELP = """Commands for initializing configs and pipeline packages."""
|
|||
|
||||
# CLI
|
||||
cli = radicli.Radicli(prog=COMMAND, help=HELP)
|
||||
cli.placeholder("project", description=PROJECT_HELP)
|
||||
cli.placeholder("debug", description=DEBUG_HELP)
|
||||
cli.placeholder("benchmark", description=BENCHMARK_HELP)
|
||||
cli.placeholder("init", description=INIT_HELP)
|
||||
|
||||
|
||||
def setup_cli() -> None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user