CLI Tools
Command
/add-test
Add a new test case to the test suite.
> /plugin marketplace add mixedbread-ai/mgrep> /plugin install mgrep@Mixedbread-Grep
Command definition
add-test.mdAdd Test
Add a new test case to the test suite.
Arguments
- `$ARGUMENTS` - Description of what to test (e.g., "search with empty query returns error")
Steps
1. Read the existing tests in `test/test.bats` to understand the current patterns.
2. Add a new test following this pattern:
@test "$ARGUMENTS" {
# Setup (if needed)
# Execute
run mgrep <command> <args>
# Assert
assert_success # or assert_failure
assert_output --partial "expected output"
}3. For long-running tests, add the tag:
# bats test_tags=long-running
@test "$ARGUMENTS" {
...
}4. Run the test to verify it works:
bats test/test.bats --filter "$ARGUMENTS"
5. Ensure all tests still pass:
pnpm test
Stats
4,441
Stars
Quiet
Maintenance
TypeScript
Language
Apache-2.0
License
Last commit
Created
Added
Ships withmgrep
A calm, CLI-native way to semantically grep everything, like code, images, pdfs and more.
4.4k1 skill
Other commands on mgrep.
More commands from other plugins.
cli-anything
CommandBuild a complete, stateful CLI harness for any GUI application.
canvas
CommandSpawn interactive terminal canvases for calendars, documents, and flight booking
debug-logs
CommandAnalyze claudish debug logs from a failed model run. Extracts SSE fixtures, diagnoses failures, adds regression tests.
report-template
CommandSummarize completed work, current risks, and next actions.

