mirror of
https://github.com/tcsenpai/pensieve.git
synced 2025-06-09 04:35:26 +00:00
feat: support -h for help
This commit is contained in:
parent
8a1e04f997
commit
6d5d11bf77
@ -11,7 +11,7 @@ from tabulate import tabulate
|
|||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
from magika import Magika
|
from magika import Magika
|
||||||
|
|
||||||
app = typer.Typer()
|
app = typer.Typer(context_settings={"help_option_names": ["-h", "--help"]})
|
||||||
lib_app = typer.Typer()
|
lib_app = typer.Typer()
|
||||||
plugin_app = typer.Typer()
|
plugin_app = typer.Typer()
|
||||||
app.add_typer(plugin_app, name="plugin")
|
app.add_typer(plugin_app, name="plugin")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user