mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Add --public-ip option to stf local
.
This commit is contained in:
parent
70dab49188
commit
5be2b8f7d5
1 changed files with 5 additions and 0 deletions
|
@ -533,6 +533,10 @@ program
|
|||
, 'group timeout'
|
||||
, Number
|
||||
, 600)
|
||||
.option('--public-ip <ip>'
|
||||
, 'public ip for global access'
|
||||
, String
|
||||
, ip())
|
||||
.action(function() {
|
||||
var log = logger.createLogger('cli:local')
|
||||
, args = arguments
|
||||
|
@ -588,6 +592,7 @@ program
|
|||
, '--connect-sub', options.bindDevPub
|
||||
, '--connect-push', options.bindDevPull
|
||||
, '--group-timeout', options.groupTimeout
|
||||
, '--public-ip', options.publicIp
|
||||
].concat(cliutil.allUnknownArgs(args)))
|
||||
|
||||
// auth-mock
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue