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:
parent
b2a62c415e
commit
8fc5f748d2
2 changed files with 255 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue