You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bpkg/lib/suggest
Sam Likins 79481450fe
List Commands with Descriptions (#161)
* Updated `utils.sh` with `bpkg_exec_exist` and `bpkg_exec_or_exit`.
* Updated scripts with `bpkg_exec_or_exit`.
* Updated `install.sh` to utilize utility functions.
* Updated `runner` in `run.sh`.
* Added `--list` option to `run.sh`.
* Added `commands-description` to `bpkg.json`.
* Updated README TOC and missing `dependencies-dev` section.
* Added `commands-description` section to README.
* Corrected failing shellcheck.
1 year ago
..
LICENSE Changes various (text) files to *not* be executable 6 years ago
Makefile Changes various (text) files to *not* be executable 6 years ago
README.md Changes various (text) files to *not* be executable 6 years ago
bpkg.json feat(): introduce 'bpkg-run' 2 years ago
suggest.sh List Commands with Descriptions (#161) 1 year ago

README.md

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