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

@@ -33,6 +33,12 @@ Below are some common arguments. See `lt --help` for additional arguments
* `--subdomain` request a named subdomain on the localtunnel server (default is random characters)
* `--local-host` proxy to a hostname other than localhost
You may also specify arguments via env variables. E.x.
```
PORT=3000 lt
```
## API ##
The localtunnel client is also usable through an API (for test integration, automation, etc)