johnwoodman/remoteinjector ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python command line tool that takes a .docx file and adds a link to a remote Word template inside it.
I want to be able to point it at a normal document and give it either an http URL or an SMB path to a template, then have it save out an updated document with that remote template reference injected. It should be simple to run from the terminal, like toolname.py -w https://example.com/template.dotm file.docx, and also work with a network path if I give one.
Please make it easy to use, show a help message, and keep the script lightweight. If you need to check current docs or Word file behavior online, go ahead and do that.
Are you gonna build this?
make sure you review the code using arcumet