0.1.0 • Published 11 years ago
bz-commando v0.1.0
Bugzilla Commando
A Node based CLI for using Bugzilla.
(Based heavily on a tool originally created by Kate Hudson.)
Installation
- Install Node.js if you don't already have it. :sunglasses:
- Run
npm install -g bz-commando. You may have to preface this withsudodepending on your permissions. - Add a
.bzrcto your home directory. This is your config file that will be used by the tool. You can copy and edit the provided.bzrc.sampleto start. The sample is geared toward working on the Webmaker product and associated components, but it can be altered to whatever you like. The format is CSON.
Help
Run bz --help or bz COMMAND --help for a specific sub-command's docs.
Command Reference
Open the ticket corresponding to your current branch name:
bz open
Open a ticket by ID number:
bz open [Ticket ID]
Example: bz open 12345 opens ticket number 12345.
Create a new ticket:
bz new
Example: bz new -t "Hack The Planet!" creates a new ticket with title "Hack The Planet!".
Example: bz new -m -t "Kitchen Sink" -c wmorg -w [april20] creates a new ticket, assigns it to you, sets title to "Kitchen Sink", sets component to "webmaker.org" (or whatever you have defined as the value for the wmorg key), and sets the whiteboard to "april20".
Open your dashboard:
bz dash