private-connect 0.3.3 → 0.3.4

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -225,7 +225,8 @@ function printHelp() {
225
225
  ${c.bold}Private Connect${c.reset} - Zero-friction connectivity tools
226
226
 
227
227
  ${c.bold}Commands:${c.reset}
228
- test <target> Test connectivity to any service
228
+ check <target> Test connectivity to any service
229
+ test <target> Alias for check
229
230
  tunnel <port> Create a temporary public tunnel
230
231
 
231
232
  ${c.bold}Examples:${c.reset}
@@ -510,10 +511,10 @@ if (args.length === 0 || args[0] === '--help' || args[0] === '-h') {
510
511
  printHelp();
511
512
  process.exit(0);
512
513
  }
513
- if (args[0] === 'test') {
514
+ if (args[0] === 'test' || args[0] === 'check') {
514
515
  if (!args[1]) {
515
516
  console.error(`${c.red}Error: Target required${c.reset}`);
516
- console.error(`Usage: npx private-connect test <host:port>`);
517
+ console.error(`Usage: npx private-connect ${args[0]} <host:port>`);
517
518
  process.exit(1);
518
519
  }
519
520
  runTest(args[1]).catch(console.error);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "private-connect",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Test connectivity to any service. No signup required.",
5
5
  "bin": {
6
6
  "private-connect": "./dist/index.js"