Files
sagemcom/xmo/log.py
T
2024-02-18 15:53:22 -05:00

13 lines
289 B
Python

import asyncclick as click
from . import xmo
@xmo.cli.command()
async def flush_log() -> None:
try:
async with xmo.flipflop('Device/DeviceInfo/FlushDeviceLog') as client:
pass
except Exception as e:
click.echo(e, err=True)
raise click.Abort()