wakatime/wakatime-cli — reverse-engineered prompt
Reverse engineered prompt
Build me a small Go command line tool for WakaTime that editor and IDE plugins can call to report a user’s coding activity. It should feel like the shared backend for plugins, read a common INI config from the user’s WakaTime home folder, and write JSONL logs to the WakaTime log file location. Make it usable from the terminal too, mostly for testing and troubleshooting, but assume the main use is as something plugins invoke behind the scenes.
I want clear command usage, sensible error messages, and a debug mode that can be turned on from the config file for more verbose logs. Please include enough docs so someone making a new editor plugin could set it up, understand the config, and troubleshoot problems without guessing. Keep it solid and well tested, and match normal WakaTime behavior as closely as possible. You can check the current WakaTime docs online if needed.
Want more depth? Deep Reverse