lazyjira wires up a fixed set of external tools. It would be nice to let users bind their own shell commands to keys, with access to the focused issue.
customCommands:
issues:
- key: "y"
name: "Copy issue key"
command: "printf %s {{.Key}} | wl-copy"
Commands are Go templates over the focused issue. Custom bindings override built-in keys (same approach as lazygit) and show up in the help overlay.
I have this implemented and can open a PR.
lazyjira wires up a fixed set of external tools. It would be nice to let users bind their own shell commands to keys, with access to the focused issue.
Commands are Go templates over the focused issue. Custom bindings override built-in keys (same approach as lazygit) and show up in the help overlay.
I have this implemented and can open a PR.