finngineering/apxutil ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python command line tool that can open Schneider Electric PLC archive files, especially .sta files and the Station.apx inside them. I want to be able to extract the archive contents into folders, inspect the APX file in a readable hexdump style view, and put everything back together again after edits. It should also handle decompressing compressed APX sections when asked, and reassembling them with updated sizes and checksums so the file still opens in Control Expert Classic or Unity Pro.
Please make the help text simple and the commands feel natural, like extract, assemble, and view. If you need to, look up current docs online for any missing format details, but keep the tool focused on practical use. Also include clear warnings in the output when something looks risky or incomplete, since these files can be fragile and I do not want silent data loss.
Are you gonna build this?
make sure you review the code using coderabbit