1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 10:19:30 +02:00

Add new stf doctor command to check if the versions of external dependencies are correct.

Add a `--devices` option to show a list of USB connected devices and a list of the devices that ADB can see.
This commit is contained in:
Gunther Brunner 2016-01-28 00:05:54 +09:00
parent b2a62c415e
commit 8fc5f748d2
2 changed files with 255 additions and 0 deletions

View file

@ -1298,4 +1298,13 @@ program
.done(run)
})
program
.command('doctor')
.description('diagnose issues before starting')
.option('--devices'
, 'diagnose devices connected to stf')
.action(function(options) {
require('./util/doctor').run(options)
})
program.parse(process.argv)