mylt
v1.0.2
Published
A lt client helper for custom localtunnel servers.
Downloads
10
Readme
mylt
A simple localtunnel client helper to make it easier to use with a custom localtunnel server.
Quick Start
$ npm install -g localtunnel mylt
$ mylt set port 5000
$ mylt set host https://tunnel.example.tld:1234
$ mylt list
$ mylt run --open
Commands
set
You 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]
unset
Removes a previously set default value.
$ mylt unset <key>
trust
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 trust
list
Lists all previously set default values.
$ mylt list
run
Executes 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 --open
Options
--help
Shows a help message, listing all commands and options.
$ mylt --help
--version
Shows the mylt
version.
$ mylt --version