xtunnel 1.3.0 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
|
3
3
|
const program = require('commander')
|
4
|
+
const https = require('https')
|
4
5
|
const path = require('path')
|
5
6
|
const fs = require('fs')
|
6
7
|
const child_process = require('child_process')
|
@@ -14,6 +15,7 @@ process.on('SIGUSR1', stop)
|
|
14
15
|
process.on('SIGUSR2', stop)
|
15
16
|
process.on('uncaughtException', err => { stop(); process.exit(1) })
|
16
17
|
|
18
|
+
|
17
19
|
program.version('1.0.0').description('Tunnel CLI')
|
18
20
|
program.command('* <url>').action(url => url && run(url))
|
19
21
|
program.parse(process.argv)
|