Add mode helpers

This commit is contained in:
up-n-atom
2023-11-19 17:10:51 -05:00
committed by GitHub
parent ea6d6b1440
commit c83531b0c2
3 changed files with 18 additions and 1 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ async def cli(ctx: click.Context, host: str, username: str, password: str, auth_
@cli.command()
@click.option('--path', required=True, multiple=True)
@click.pass_context
async def get_value(ctx: click.Context, path: str) -> None:
async def get_value(ctx: click.Context, path: list[str]) -> None:
client = ctx.find_object(SagemcomClient)
if client is None:
return