2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-19 15:25:36 +00:00
bpkg/lib/suggest
Abdelkafi Ahmed 0617f26461 Replace with $( ) inside strings and in commands (#77)
* Changed how to execute shell commands inside output strings

* Removed the extra { }

* Drop changes to JSON files inside lib/json
2017-02-06 10:28:58 -05:00
..
LICENSE Replace with $( ) inside strings and in commands (#77) 2017-02-06 10:28:58 -05:00
Makefile Replace with $( ) inside strings and in commands (#77) 2017-02-06 10:28:58 -05:00
package.json Replace with $( ) inside strings and in commands (#77) 2017-02-06 10:28:58 -05:00
README.md Replace with $( ) inside strings and in commands (#77) 2017-02-06 10:28:58 -05:00
suggest.sh Add suggest and show helpful commands in help menu 2014-05-25 17:19:13 -04:00

suggest.sh

Suggests commands based on a query found in $PATH. Kinda like which but with queries

install

bpkg

$ bpkg install -g jwerle/suggest.sh

source:

$ git clone https://github.com/jwerle/suggest.sh.git
$ make install -C suggest/

usage

usage: suggest [-hV] <query>

example

$ suggest git
suggest: found 42 result(s)

  /usr/local/bin/git-alias
  /usr/local/bin/git-archive-file
  /usr/local/bin/git-back
  /usr/local/bin/git-bug
  /usr/local/bin/git-changelog
  /usr/local/bin/git-commits-since
  /usr/local/bin/git-contrib
  /usr/local/bin/git-count
  /usr/local/bin/git-create-branch
  /usr/local/bin/git-delete-branch
  /usr/local/bin/git-delete-merged-branches
  /usr/local/bin/git-delete-submodule
  /usr/local/bin/git-delete-tag
  /usr/local/bin/git-effort
  /usr/local/bin/git-extras

...

license

MIT