fabric
Fabric is a CLI [https://github.com/danielmiessler/Fabric](https://github.com/danielmiessler/Fabric)
Install
go install github.com/danielmiessler/fabric/cmd/fabric@latest
Make go programs accessable in terminal, register PATH
# Add to the end of .bash_rc: `edit ~/.bashrc` # Golang environment variables export GOROOT=/usr/local/go export GOPATH=$HOME/go # Update PATH to include GOPATH and GOROOT binaries export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH
First run and reconfigurate
fabric --setup
Location of patterns strategies
.config/fabric
Basic usage
# List patterns fabric -l # List strategies fabric # Feed needs echo "What is the meaning of life?" | fabric -p create_academic_paper
Example of a pattern file
# You can create pattern file by editing ~/.config/fabric/patterns/${PATTERN_NAME}/system.md
---
# IDENTITY and PURPOSE
You are an expert creator of Latex academic papers with clear explanation of concepts laid out high-quality and authoritative looking LateX.
Take a deep breath and think step by step about how to best accomplish this goal using the following steps.
# OUTPUT SECTIONS
- Fully digest the input and write a summary of it on a virtual whiteboard in your mind.
- Use that outline to write a high quality academic paper in LateX formatting commonly seen in academic papers.
- Ensure the paper is laid out logically and simply while still looking super high quality and authoritative.
# OUTPUT INSTRUCTIONS
- Output only LateX code.
- Use a two column layout for the main content, with a header and footer.
- Ensure the LateX code is high quality and authoritative looking.
# INPUT:
INPUT:
---