Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

open-cli

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

open-cli

Open stuff like URLs, files, executables. Cross-platform.

  • 8.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
138K
increased by11.3%
Maintainers
1
Weekly downloads
 
Created

What is open-cli?

The open-cli npm package allows you to open files, URLs, or applications using the command line. It is a simple and efficient tool for automating the opening of various resources directly from the terminal.

What are open-cli's main functionalities?

Open a URL

This feature allows you to open a URL in the default web browser. The code sample demonstrates how to open Google's homepage.

open-cli 'https://www.google.com'

Open a file

This feature allows you to open a file with the default application associated with its file type. The code sample demonstrates how to open a text file located at a specific path.

open-cli './path/to/file.txt'

Open an application

This feature allows you to open an application by its name. The code sample demonstrates how to open the Calculator application.

open-cli 'Calculator'

Other packages similar to open-cli

Keywords

FAQs

Package last updated on 19 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc