Socket
Socket
Sign inDemoInstall

opn-cli

Package Overview
Dependencies
52
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 3.0.0

10

cli.js

@@ -8,6 +8,6 @@ #!/usr/bin/env node

Usage
$ opn <file|url> [--no-wait] [-- <app> [args]]
$ opn <file|url> [--wait] [-- <app> [args]]
Options
--no-wait Don't wait for the app to exit
--wait Wait for the app to exit

@@ -19,3 +19,7 @@ Examples

$ opn unicorn.png
`);
`, {
default: {
wait: false
}
});

@@ -22,0 +26,0 @@ cli.flags.app = cli.input.slice(1);

{
"name": "opn-cli",
"version": "2.0.0",
"version": "3.0.0",
"description": "A better node-open. Opens stuff like websites, files, executables. Cross-platform.",

@@ -61,3 +61,6 @@ "license": "MIT",

"xo": "*"
},
"xo": {
"esnext": true
}
}

@@ -19,6 +19,6 @@ # opn-cli [![Build Status](https://travis-ci.org/sindresorhus/opn-cli.svg?branch=master)](https://travis-ci.org/sindresorhus/opn-cli)

Usage
$ opn <file|url> [--no-wait] [-- <app> [args]]
$ opn <file|url> [--wait] [-- <app> [args]]
Options
--no-wait Don't wait for the app to exit
--no-wait Wait for the app to exit

@@ -25,0 +25,0 @@ Examples

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc