12 lines
249 B
Python
12 lines
249 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:
|
|
ctx.fail(e)
|