entexto-cli 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/entexto.js +9 -0
- package/package.json +1 -1
package/bin/entexto.js
CHANGED
|
@@ -86,6 +86,15 @@ program
|
|
|
86
86
|
require('../lib/commands/tunnel')({ target: target || '3000', link: opts.link });
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
+
// ─── entexto t <port> [link] — atajo para tunnel ─────────────
|
|
90
|
+
program
|
|
91
|
+
.command('t [target] [link]')
|
|
92
|
+
.description('Atajo: entexto t 1200 reyjosias = entexto tunnel 1200 --link reyjosias')
|
|
93
|
+
.option('-l, --link <name>', 'Link personalizado')
|
|
94
|
+
.action((target, link, opts) => {
|
|
95
|
+
require('../lib/commands/tunnel')({ target: target || '3000', link: link || opts.link });
|
|
96
|
+
});
|
|
97
|
+
|
|
89
98
|
// ─── entexto tunnels ─────────────────────────────────────────
|
|
90
99
|
program
|
|
91
100
|
.command('tunnels')
|