Skip to content

Commit 32d3c9a

Browse files
committed
jade_cli: add selfcheck command
1 parent d786cef commit 32d3c9a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

jade_cli.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import functools
77
import logging
88
import os
9+
import sys
910
import time
1011

1112
from jadepy.jade import JadeAPI
@@ -103,6 +104,15 @@ def cli(ctx, verbose, device):
103104
logging.basicConfig(level=logging.INFO)
104105

105106

107+
# DEBUG
108+
109+
@cli.command()
110+
@with_jade_client
111+
def selfcheck(jade):
112+
response = jade.run_remote_selfcheck()
113+
click.echo(response)
114+
115+
106116
# INFO
107117

108118
@cli.command()

0 commit comments

Comments
 (0)