README.md: Link to ticketsnake + attachment docs
ticketbasher: added the attachments command
ticketbasher: Initial Commit
Ticketbasher is a bash script wrapper around Ticketsnake, designed to make it more comfortable to do certain things.
It probably shouldn't even have its own git repo, but I'm likely to hack at it and some colleagues may find it useful to keep on top of any new features.
status $ticket_id
– retrieves a list of permitted statuses for a ticker and presents them in menu, then changes the status of the ticket to the chosen statusreassign $ticket_id
– If you've been using ticketsnake to harvest user ids, this is what that feature is designed for. Retrieves a list of user names and ids from $XDG_DATA_HOME/ticketsnake/users.json
, presents them in a menu and then reassigns the ticket based on your choicereply $ticket_id
– Write a reply (i.e. a note) on a ticket using your favourite cosy $EDITOR
view $ticket_id
– Opens the ticket in less
, with colours.attachment $ticket_id
– get a list of attachments from a ticket, select one using fzf
and then download/view it via xdg-open
Installation is via Makefile, which will install to .local/bin/ticketbasher
:
make install
It's a bit glorified for installing a bash script, so feel free to just copy it to your scripts directory or whatever.
It depends on fzf
and jq
, and of course ticketsnake
.
Debian-family users:
sudo apt install fzf jq
Ticketbasher was written assuming a GNU/Linux environment with write access to /tmp
, but should probably work on the BSDs and maybe macOS (although the latter really is not a priority).