feat(cli): add help to completions command

This commit is contained in:
Benex254
2024-08-12 00:45:10 +03:00
parent 9608bace07
commit 8999d88d23

View File

@@ -2,9 +2,9 @@ import click
@click.command(help="Helper command to get shell completions")
@click.option("--fish", is_flag=True)
@click.option("--zsh", is_flag=True)
@click.option("--bash", is_flag=True)
@click.option("--fish", is_flag=True, help="print fish completions")
@click.option("--zsh", is_flag=True, help="print zsh completions")
@click.option("--bash", is_flag=True, help="print bash completions")
def completions(fish, zsh, bash):
if not fish or not zsh or not bash:
import os