Skip to content

Instantly share code, notes, and snippets.

View orvitpng's full-sized avatar

Carter Davis orvitpng

  • Austin, Texas
  • 08:23 (UTC -06:00)
View GitHub Profile
@orvitpng
orvitpng / context.fish
Created November 1, 2025 18:50
compile project into xml file for llm context
#!/usr/bin/env fish
set target (if set -q argv[1]; echo $argv[1]; else; echo "."; end)
set output output.xml
if not test -d $target
echo "Error: Directory \"$target\" does not exist"
exit 1
end
echo "Compiling project from $target to $output..."