scopen
Open a file in its source-control remote web interface
Last updated 3 years ago by andrewbranch .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install scopen -g
SYNC missed versions from official npm registry.

scopen

Open a file in its source-control remote web interface

Build Status

Installation

npm install -g scopen

Usage

scopen [options] <file>

Options:

  -h, --help               output usage information
  -V, --version            output the version number
  -w, --with [cmd]         shell program used to open the URL [open]
  -a, --application [app]  application option passed through to `open`
  -b, --branch [branch]    git branch to view file [current branch]
  -r, --remote [remote]    git remote to view file [origin]
  -v, --verbosity [info]   log level [silent|error|info|debug|verbose]
  -u, --url-only           write the URL to stdout without opening

Contributing

Please do, especially to add support for other git remotes. AirBnb’s ESLint rules are checked as part of the test suite, so make sure your editor is set up to respect the provided .eslintrc (or at least run npm test before pushing).

To run locally, clone the project and run npm link from within the project directory. Then scopen will be available from the command line, linked to your local installation. npm link must be run again between changes.

Current Tags

  • 1.1.0                                ...           latest (3 years ago)

5 Versions

  • 1.1.0                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 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 (3)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |