Add ability to specify env variables (#161)

Update yargs dependency to enable the new functionality.
This commit is contained in:
Jimmie
2018-04-01 23:41:53 -04:00
committed by Roman Shtylman
parent 32fd1fdcbd
commit cb3441a339
3 changed files with 9 additions and 2 deletions

View File

@@ -4,10 +4,11 @@ var open_url = require('openurl');
var argv = require('yargs')
.usage('Usage: $0 --port [num] <options>')
.env(true)
.option('h', {
alias: 'host',
describe: 'Upstream server providing forwarding',
default: 'https://localtunnel.me'
default: 'https://localtunnel.me',
})
.option('s', {
alias: 'subdomain',