We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d6029 commit 83044c5Copy full SHA for 83044c5
.gitignore
@@ -24,6 +24,7 @@ wheels/
24
arial.ttf
25
# Virtual Environment
26
venv/
27
+bin/
28
env/
29
ENV/
30
assets/
src/zuffer/cli.py
@@ -4,11 +4,14 @@
4
from .commands import embed
5
from .commands import welcome, list
6
7
-@click.group()
+@click.group(invoke_without_command=True)
8
@click.version_option(package_name="zuffer")
9
-def main():
+@click.pass_context
10
+def main(ctx: click.Context):
11
"""Zuffer CLI - Discord Server Management Tool"""
- pass
12
+ if ctx.invoked_subcommand is None:
13
+ click.echo(ctx.get_help())
14
+ ctx.exit(0)
15
16
17
main.add_command(login.login)
0 commit comments