mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 05:53:19 +02:00
Minimal start with a custom logger and device tracker.
This commit is contained in:
15
lib/cli.js
Normal file
15
lib/cli.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var program = require('commander')
|
||||
|
||||
var pkg = require('../package')
|
||||
|
||||
program
|
||||
.version(pkg.version)
|
||||
|
||||
program
|
||||
.command('provider')
|
||||
.description('run STF provider')
|
||||
.action(function() {
|
||||
require('./provider')
|
||||
})
|
||||
|
||||
program.parse(process.argv)
|
||||
Reference in New Issue
Block a user