-
Notifications
You must be signed in to change notification settings - Fork 9
Execute commands
Gennaro Tedesco edited this page Jan 29, 2022
·
6 revisions
gh-s
must be intended as a filter prompt returning the URL of the selection; as such, the best and most flexible way to execute commands with the results is to pipe it into and from stdin/stdout. Some most common use cases:
gh s neovim -l lua | xargs -n1 gh repo view
gh s neovim -l lua | xargs -n1 gh browse -R
gh s ripgrep -l rust -u BurntSushi | xargs -n1 gh issue list -s"all" -A @me -R
gh s gh-s -u gennaro-tedesco | xargs -n1 gh repo clone