A simple localtunnel client helper to make it easier to use with a custom localtunnel server.
$ npm install -g localtunnel mylt
$ mylt set port 5000
$ mylt set host https://tunnel.example.tld:1234
$ mylt list
$ mylt run --openYou can set any localtunnel option, to pass it on as default value when running mylt run.
If no value is passed, true will be used.
$ mylt set <key> [value]Removes a previously set default value.
$ mylt unset <key>This accepts self-signed certificates from the server. It is an alias for mylt set trust
and can be removed with mylt unset trust. There is a native command, because it is not
part of the localtunnel options.
$ mylt trustLists all previously set default values.
$ mylt listExecutes lt with the set default options. To override defaults, just specify them,
e.g. mylt run --port 8080. This will use port 8080 even if 5000 was set as default,
as shown in the example below.
$ mylt run --port 8080 --openShows a help message, listing all commands and options.
$ mylt --helpShows the mylt version.
$ mylt --version