Speed up bash-it Search & support exact matches

This commit improves Bash-It search functionality in a couple of ways:

 * bash-it search (with no arguments) will print detailed help.
 * bash-it search now accepts terms prefixed with '@' sign, indicating an exact match.
 * bash-it search now performs smarter caching of the component listings/status

New search syntax is as follows:

   bash-it search [-|@]term1 [-|@]term2 [ --enable | --disable | --help ]
This commit is contained in:
Konstantin Gredeskoul
2018-11-17 17:45:44 -08:00
parent 8feebc0aa9
commit baae0305b6
4 changed files with 419 additions and 135 deletions

View File

@@ -2,6 +2,7 @@
load ../test_helper
load ../../lib/composure
load ../../lib/search
load ../../plugins/available/base.plugin
cite _about _param _example _group _author _version