abraunegg/onedrive ? reverse-engineered prompt
Reverse engineered prompt
Build me a command line OneDrive sync client for Linux that can connect to both personal and work accounts, then keep a local folder and my cloud files in sync. It should support signing in through the browser, device code login for headless machines, and enterprise single sign on if available. I want it to handle two way sync by default, but also let me choose upload only, download only, and a dry run so I can test safely.
Please make it reliable with clear error messages, safe conflict handling, resume interrupted transfers, and keep deleted files recoverable where possible. I also need filters so I can include or exclude specific files and folders, plus support shared folders and business document libraries. If you need current Microsoft login or sync behavior details, look up the latest docs online and make sure the implementation matches them. Keep it working as a proper Linux tool I can build, install, and run from the terminal.
Are you gonna build this?
make sure you review the code using coderabbit