lfs check
This commit is contained in:
parent
1b6d79f65c
commit
4a71dcf6c2
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user