Skip to content

Commit 5c559fc

Browse files
committed
Fix manifest
1 parent 126deac commit 5c559fc

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎spacy_cli/build_manifest.py‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def build_manifest() -> Dict[str, object]:
5858
group_help[name] = _get_help(runner, app, [name])
5959
unknown_subcommand[name] = _invoke(
6060
runner, app, [name, UNKNOWN_SUBCOMMAND_TOKEN]
61-
).stdout
61+
).output
6262
for sub_name in subcommands:
6363
help_text = _maybe_get_help(runner, app, [name, sub_name])
6464
if help_text is not None:
@@ -76,8 +76,8 @@ def build_manifest() -> Dict[str, object]:
7676
"group_help": group_help,
7777
"command_help": command_help,
7878
"errors": {
79-
"missing_command": _invoke(runner, app, []).stdout,
80-
"unknown_command": _invoke(runner, app, [UNKNOWN_COMMAND_TOKEN]).stdout,
79+
"missing_command": _invoke(runner, app, []).output,
80+
"unknown_command": _invoke(runner, app, [UNKNOWN_COMMAND_TOKEN]).output,
8181
"unknown_subcommand": unknown_subcommand,
8282
},
8383
}

‎spacy_cli/cli_manifest.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@
3636
"validate": " \n Usage: python -m spacy validate [OPTIONS] \n \n Validate the currently installed pipeline packages and spaCy version. Checks if the installed \n packages are compatible and shows upgrade instructions if available. Should be run after `pip \n install -U spacy`. \n \n DOCS: https://spacy.io/api/cli#validate \n \n╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮\n│ --help Show this message and exit. │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n\n"
3737
},
3838
"errors": {
39-
"missing_command": "",
40-
"unknown_command": "",
39+
"missing_command": "Usage: python -m spacy [OPTIONS] COMMAND [ARGS]...\nTry 'python -m spacy --help' for help.\n╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮\n│ Missing command. │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
40+
"unknown_command": "Usage: python -m spacy [OPTIONS] COMMAND [ARGS]...\nTry 'python -m spacy --help' for help.\n╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮\n│ No such command '__SPACY_UNKNOWN_COMMAND__'. │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
4141
"unknown_subcommand": {
42-
"benchmark": "",
43-
"debug": "",
44-
"init": "",
45-
"project": ""
42+
"benchmark": "Usage: python -m spacy benchmark [OPTIONS] COMMAND [ARGS]...\nTry 'python -m spacy benchmark --help' for help.\n╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮\n│ No such command '__SPACY_UNKNOWN_SUBCOMMAND__'. │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
43+
"debug": "Usage: python -m spacy debug [OPTIONS] COMMAND [ARGS]...\nTry 'python -m spacy debug --help' for help.\n╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮\n│ No such command '__SPACY_UNKNOWN_SUBCOMMAND__'. │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
44+
"init": "Usage: python -m spacy init [OPTIONS] COMMAND [ARGS]...\nTry 'python -m spacy init --help' for help.\n╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮\n│ No such command '__SPACY_UNKNOWN_SUBCOMMAND__'. │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n",
45+
"project": "Usage: python -m spacy project [OPTIONS] COMMAND [ARGS]...\nTry 'python -m spacy project --help' for help.\n╭─ Error ──────────────────────────────────────────────────────────────────────────────────────────╮\n│ No such command '__SPACY_UNKNOWN_SUBCOMMAND__'. │\n╰──────────────────────────────────────────────────────────────────────────────────────────────────╯\n"
4646
}
4747
},
4848
"group_help": {

0 commit comments

Comments
 (0)