mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 16:43:26 +02:00
Ported CLI from commander to yargs because yargs suits our large CLI better and is easier to develop with. Split commands into separate files since the file was getting annoyingly long.
This commit is contained in:
11
lib/cli/doctor/index.js
Normal file
11
lib/cli/doctor/index.js
Normal file
@@ -0,0 +1,11 @@
|
||||
module.exports.command = 'doctor'
|
||||
|
||||
module.exports.describe = 'Diagnose potential issues with your installation.'
|
||||
|
||||
module.exports.builder = function(yargs) {
|
||||
return yargs
|
||||
}
|
||||
|
||||
module.exports.handler = function() {
|
||||
return require('../../util/doctor').run()
|
||||
}
|
||||
Reference in New Issue
Block a user