I don't know why anyone, other than me, would ever possibly need this, but in the case you're that person looking for a cli tool to generate #nesdev spritesheets from TGA files, well, it's your lucky day.
https://git.sr.ht/~rabbits/chr-format/tree/front/item/tgachr/tgachr.tal