fx-gcli

0.0.3 • Public • Published

Firefox GCLI Build Status

NPM NPM

Module for adding commands to Firefox's GCLI.

Adding a command

require("fx-gcli").addCommand({
  "name": "test",
  "exec": function() {
    // stuff to do on execute
  }
})

Adding a command with "fx-gcli" will automatically unload/remove the command when your add-on is disabled/uninstalled.

/fx-gcli/

    Package Sidebar

    Install

    npm i fx-gcli

    Weekly Downloads

    2

    Version

    0.0.3

    License

    MPL v2.0

    Last publish

    Collaborators

    • erikvold
    • jsantell