citadel

My dotfiles, scripts and nix configs
git clone git://jb55.com/citadel
Log | Files | Refs | README | LICENSE

commit 383a2ca4552c1da09414ed2fd78a3550183a590d
parent c41fdfd75d98fcb0e2f37e0296120d0aab95defc
Author: William Casarin <jb55@jb55.com>
Date:   Sat, 24 Apr 2021 09:26:35 -0700

bin: fuzz-gh-issue-list

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Abin/fuzz-gh-issue-list | 13+++++++++++++
Mdotfiles/commands | 1+
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/bin/fuzz-gh-issue-list b/bin/fuzz-gh-issue-list @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +issues() { +if [ -z "$1" ]; then + gh issue list +else + gh issue list --search "$@" +fi +} + + +id=$(issues "$@" | fuzzer | cutt -f1) +echo gh issue view --comments "$id" diff --git a/dotfiles/commands b/dotfiles/commands @@ -33,6 +33,7 @@ h run history fuzz-run-hist tj tag jump fuzz-tag-jump te todos edit echo edit ~/docs/todo/todo.txt gb git branches echo git bvr +ghi github issues fuzz-gh-issue-list ni notmuch inbox fuzz-notmuch-inbox nt notmuch threads fuzz-notmuch-threads nat notmuch archive fuzz-notmuch-archive