npm.io
2.0.0 • Published 4 years agoCLI

open-editor-cli

Licence
MIT
Version
2.0.0
Deps
4
Size
3 kB
Vulns
0
Weekly
0
Stars
56

open-editor-cli

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

Keywords