Skip to content

Commit 0c0af96

Browse files
authored
Fix help command output incomplete (#35)
1 parent 923182b commit 0c0af96

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

app/cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ def invoke(self, ctx: click.Context) -> None:
1818
return super().invoke(ctx)
1919

2020

21-
@click.group(cls=LoggingGroup)
21+
CONTEXT_SETTINGS = {"max_content_width": 120}
22+
23+
24+
@click.group(cls=LoggingGroup, context_settings=CONTEXT_SETTINGS)
2225
@click.option("--verbose", "-v", is_flag=True, help="Enable verbose output")
2326
@click.pass_context
2427
def cli(ctx: click.Context, verbose: bool) -> None:

0 commit comments

Comments
 (0)