signal-view-fix #35

Merged
benchinnery merged 9 commits from signal-view-fix into main 2026-06-04 16:05:12 -04:00
Showing only changes of commit 4a71dcf6c2 - Show all commits

View File

@ -21,9 +21,10 @@ def _git_lfs_installed() -> bool:
return False
@click.group()
@click.group(invoke_without_command=True)
@click.option("-v", "--verbose", is_flag=True, type=bool, help="Increase verbosity, especially useful for debugging.")
def cli(verbose):
@click.pass_context
def cli(ctx, verbose):
if not _git_lfs_installed():
click.echo(
"Warning: git-lfs is not installed. RIA Hub projects require git-lfs to\n"
@ -36,6 +37,8 @@ def cli(verbose):
"After installing, run: git lfs install",
err=True,
)
if ctx.invoked_subcommand is None:
click.echo(ctx.get_help())
# Loop through project commands, binding them all to the CLI.