npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

open-editor-cli

1.0.0 • Public • Published

open-editor-cli Build Status

Open files in your editor at a specific line and column

Install

$ npm install --global open-editor-cli

Usage

$ open-editor --help

  Usage
    $ open-editor <file> …
    $ cat <file> | open-editor [--ext]

  Options
    --ext  File extension for stdin

  Examples
    $ open-editor unicorn.js:5:3 readme.md:10:2
    $ echo '<h1>Unicorns!</h1>' | open-editor --ext=html

Related

  • open-editor - API for this module
  • opn-cli - Opens stuff like websites, files, executables

License

MIT © Sindre Sorhus

install

npm i open-editor-cli

Downloadsweekly downloads

5

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability