Missing entry in pyproject

This commit is contained in:
Michael Panchenko
2025-07-17 16:00:34 +02:00
committed by Michael Panchenko
parent dbacca6c5b
commit 108eded31a
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ print-system-prompt = "serena.cli:print_system_prompt"
mode = "serena.cli:mode"
context = "serena.cli:context"
project = "serena.cli:project"
config = "serena.cli:config"
help = "serena.cli:get_help"
[project.license]
+2
View File
@@ -446,6 +446,8 @@ print_system_prompt = top_level.print_system_prompt
# needed for the help script to work - register all subcommands to the top-level group
for subgroup in (mode, context, project, config):
top_level.add_command(subgroup)
def get_help() -> str:
"""Retrieve the help text for the top-level Serena CLI."""
return top_level.get_help(click.Context(top_level, info_name="serena"))