🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

phab-lookup-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phab-lookup-cli

A convenience CLI for phabricator

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

phab-lookup-cli

A convenience CLI for phabricator

Install

yarn global add phab-lookup-cli

# or npm
npm i -g phab-lookup-cli

Configure

This expects an ~/.arcrc to exist with authentication info (if you use phab, you might already have one). e.g.

{
  "hosts": {
    "https://phab-url.com/api/": {
      "token": "..."
    }
  }
}

Use

NOTE: when providing a repo name, you can provide either the full name (e.g. scope/repo-name) or short name (e.g. repo-name). It'll try to pick the best match based on the search results, but you may need to specify the full name in some cases

clone

Clone repo (shorthand: phab c)

phab clone repo-name
# git clones `scope/repo-name`

phab clone repo-name -b some-branch
# passes extra args directly into `git clone`

phab clone asdf
#> Repo not found: asdf

open

Open repo in browser (shorthand: phab o)

phab open scope/repo-name
# opens repo in browser

phab open repo-name
# opens repo in browser

phab open asdf
#> Repo not found: asdf

repo

Print diffusion url for repo (shorthand: phab r)

phab repo repo-name
#> https://phab-url.com/diffusion/WECREHQ

phab repo asdf
#> Repo not found: asdf

FAQs

Package last updated on 12 Apr 2019

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