Fabric Search CLI is a command-line interface application built with Go and Charm libraries. It provides a user-friendly interface to navigate and view pattern files stored in your Fabric configuration directory.
- List available pattern folders
- View README and system files for each pattern
- Toggle between README and system content
- Responsive terminal UI
- Clone this repository
- Run
go mod tidyto ensure all dependencies are properly downloaded - Run
go build ./cmd/fabric-search - Move the resulting binary to your PATH
Simply run fabric-search in your terminal to start the application.
- Use arrow keys to navigate the folder list
- Press Enter to select a folder and view its content
- Press Tab to toggle between README and system content
- Press q to quit the application
Fabric Search CLI expects pattern files to be stored in ~/.config/fabric/patterns/. Each pattern should have its own subdirectory containing README.md and system.md files.
To work on this project:
- Ensure you have Go 1.20 or later installed
- Clone the repository
- Run
go mod tidyto download dependencies - Make your changes
- Run
go build ./cmd/fabric-searchto build the application
Contributions are welcome! Please feel free to submit a Pull Request.
[Add your chosen license here]