open-editor-cli
Open files in your editor at a specific line and column
Last updated 3 years ago by sindresorhus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install open-editor-cli 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (3)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |