mirror of
https://github.com/tiennm99/serena.git
synced 2026-08-01 18:23:06 +00:00
Missing entry in pyproject
This commit is contained in:
committed by
Michael Panchenko
parent
dbacca6c5b
commit
108eded31a
@@ -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]
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user