A command line interface to Bugzilla.
A Node based CLI for using Bugzilla.
(Based heavily on a tool originally created by Kate Hudson.)
- Install Node.js if you don't already have it. :sunglasses:
npm install -g bz-commando. You may have to preface this with
sudodepending 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.
bz --help or
bz COMMAND --help for a specific sub-command's docs.
bz open [Ticket ID]
bz open 12345 opens ticket number 12345.
bz new -t "Hack The Planet!" creates a new ticket with title "Hack The Planet!".
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]".