A command-line fuzzy finder for Makefile targets built with Go and Bubble Tea.
- Fuzzy search: Type to filter through Makefile targets
- Interactive selection: Use arrow keys or vim-style navigation (j/k)
- Target descriptions: Shows comments above targets as descriptions
- Execute on selection: Press Enter to run the selected target
- Custom Makefile support: Specify a custom Makefile path
git clone <repository-url>
cd makef
go build -o makef./makef./makef /path/to/your/Makefile- Type: Filter targets by name
- ↑/k: Move up in the list
- ↓/j: Move down in the list
- Enter: Execute the selected target
- Backspace: Delete characters from search
- q/Ctrl+C: Quit
- Parses the specified Makefile (or
./Makefileby default) - Extracts target names and their descriptions (from comments above targets)
- Provides an interactive fuzzy finder interface
- Executes the selected target using
make -f <makefile> <target>
The tool automatically picks up comments that appear directly above target definitions:
# This comment will be shown as the description
build:
go build -o app
# Run all tests
test:
go test ./...Given a Makefile with targets like build, test, clean, install:
- Type
buto filter tobuild - Type
teto filter totest - Use arrow keys to navigate between filtered results
- Press Enter to execute the selected target
- Go 1.23 or higher
makecommand available in PATH
MIT License