avirajsa/webcmd-plugin-irctc ? reverse-engineered prompt
Reverse engineered prompt
Build me a Webcmd plugin for IRCTC that lets me search trains, pick a class, start booking, and check PNR status from the command line.
I want commands for finding trains between two station codes with a travel date, then filtering by things like quota, class, flexible date, available berth, and a few concession options. After that, I should be able to choose a train by number or by the result list and move into booking by selecting the tier I want, like 3A, 2A, 1A, SL, or similar. I also need a simple PNR status command where I can paste a 10 digit PNR and see the current status.
Please make it work with a warmed browser session so the train search results are visible, and keep the flow simple and practical. If you need to check the latest Webcmd or IRCTC related docs, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit