Initially used to find call references to SQL stored procedures in our c# code base, and to create linear issues for them. Can be easily adapted to search any other regex pattern.
Requires ripgrep
Create .env inside linear-upload
with:
LINEAR_API_KEY=lin_api_...
TEAM_ID=...
- Scan the code, which create two .json files
python main.py </path/to/codebase>
- Upload to linear (this requires bun)
cd linear-upload
bun uploadToLinear.ts