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 ]
Testing with Bats
To execute the unit tests, please run the run script:
# If you are in the `test` directory:
./run
# If you are in the root `.bash_it` directory:
test/run
The run script will automatically install Bats if it is not already present, and will then run all tests found under the test directory, including subdirectories.