Firefox add-ons manager for CUI.
Add this line to your application's Gemfile:
gem 'firebrew'
And then execute:
$ bundle
Or install it yourself as:
$ gem install firebrew
NOTE: This program execution requires the OpenSSL.
The structure of the command line is shown below:
$ firebrew [--help] [--version]
[--base-dir=<path>] [--profile=<name>] [--firefox=<path>]
<command> [<args>]
Install the extension which is designated by the extension-name
argument:
$ firebrew install <extension-name>
Uninstall the extension which is designated by the extension-name
argument:
$ firebrew uninstall <extension-name>
Show detail information of the extension which is designated by the extension-name
argument:
$ firebrew info <extension-name>
Enumerate the remote extensions whose name is matched the term
argument:
$ firebrew search <term>
Enumerate the installed extensions:
$ firebrew list
Show the profile information:
$ firebrew profile [--attribute=<attr-name>]
The name of the attribute which want to display:
-a <attr-name>, --attribute=<attr-name>
The Firefox profiles.ini directory:
-d <path>, --base-dir=<path>
The default value is listed below:
platform | value |
---|---|
Mac OS X | ~/Library/Application Support/Firefox |
Linux | ~/.mozilla/firefox |
Windows | %APPDATA%\Mozilla\Firefox |
It's able to overridden by the FIREBREW_FIREFOX_PROFILE_BASE_DIR
environment variable.
The Firefox profile name:
-p <name>, --profile=<name>
The default value is default
, and it's able to overridden by the FIREBREW_FIREFOX_PROFILE
environment variable.
The Firefox command path:
-f <path>, --firefox=<path>
The default value is listed below:
platform | value |
---|---|
Mac OS X | /Applications/Firefox.app/Contents/MacOS/firefox-bin |
Linux | /usr/bin/firefox |
Windows | %PROGRAMFILES%\Mozilla Firefox\firefox.exe or %PROGRAMFILES(X86)%\Mozilla Firefox\firefox.exe |
It's able to overridden by the FIREBREW_FIREFOX
environment variable.
- Fork it ( http://github.com/mrk21/firebrew/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request