Skip to content
brocli is a Chrome extension that turns Chrome's omnibar into a command line interface for navigating the web
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
brocli
LICENSE
README.md

README.md

brocli = browser + commandline interface

brocli is a Chrome extension that turns Chrome's omnibar into a command line interface for navigating the web.

Install "Production" Version from Chrome Web Store

The newest code changes won't in the web store version until I manually upload the new version to the web store -- this is kinda a pain, so I don't do it often. So, follow the steps below to install as unpacked extension if you would like a newer version with with "bleading-edge" features.

Installing as Unpacked Extension

  • Clone with Git or download zip file from this repo.

Once downloaded, the extension can be added here: chrome://extensions

  • check [] developer mode at the top right.
  • click Load unpacked extension...
  • file browse to and select /brocli

Usage

  • start brocli: In the addressbar, type b then press space or tab
  • type command, then press enter
  • tip: use keyboard shortcut alt+d to move cursor to addressbar.

AC Commands

If a domain is entered before the command, brocli will navigate to the page on that domain. If no domain is entered, brocli will use the tab's current location. For example:

  • entering -o 123 will navigate to the order edit of the site in the current tab.
  • entering store1234.mysparkpay.com -o 123 will navigate to store1234's order edit, regardless of current location.

Multiple entities or ids can be specified by comma seperating them. Ex: -o 100219,100220 - opens order edit for 100219 in current tab and 100220 in a new tab.

Audit

  • cata (<ID>) - category audit. Ex: -cata 12
  • -ca (<ID>) - customer audit. Ex:
  • -pa (<ID>) - product audit. Ex:
  • -oa (<ID>) - order audit. Ex:

List

  • -l (page) - navigate to an entity's list page. Ex:
  • -l categories
  • -l orders
  • -l products
  • -l sessions
  • ...

Edit

  • -cat (<id>) - edit category. Ex -cat 27
  • -c (<id>)- edit customer. Ex: -c 12
  • -d (<id>) - edit discount. Ex: -d 42
  • -cat (<id>) - edit category. Ex: -cat 34
  • -o (<id>) - edit order. Ex: -o 10006
  • -p (<id>) - edit product. Ex: -p 27

View

  • -catv (<id>) - cat view. Ex: -ov 100231
  • -ov (<id>) - order view. Ex: -ov 100231
  • -eh (<id>) - view customer email history. Ex: -eh 227
  • -vs (<id>) - view visitor session. Ex: -vs 100231

Settings

  • -s (page) - navigate to a settings page Ex: -s dc will navigate to domaincontrol.aspx
  • -s info - store info settings -s shipping - shipping settings
  • etc

General Web Commands

Commands that are useful on any site.

Navigation

  • --new-tab or -t - specifies navigation should occur in new tab. Default is current tab.
  • --command (string) or -com (string) - Will search bookmarks for string and navigate to them if found. This command will also be ran on the first input string if no other commands are executed.

Tools

  • --pretty-print (string) or --pp (string) - Pretty print XML or HTML. Opens new tab to a extension's output.html.
  • --url-encode (string) or --url (string) - Url encode a string. Opens new tab to a extension's output.html.
You can’t perform that action at this time.