feat: support -h for help

This commit is contained in:
arkohut 2024-06-23 13:46:25 +08:00
parent 8a1e04f997
commit 6d5d11bf77

View File

@ -11,7 +11,7 @@ from tabulate import tabulate
from tqdm import tqdm
from magika import Magika
app = typer.Typer()
app = typer.Typer(context_settings={"help_option_names": ["-h", "--help"]})
lib_app = typer.Typer()
plugin_app = typer.Typer()
app.add_typer(plugin_app, name="plugin")