mirror of
https://github.com/bitinflow/localtunnel.git
synced 2026-03-13 13:35:54 +00:00
Add ability to specify env variables (#161)
Update yargs dependency to enable the new functionality.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user