`cli` is a simple command-line interface for solving CAPTCHAs made with Cap. It's mainly designed for testing and when you need to solve these CAPTCHAs in a browser without JavaScript support.
Note that `cli` is not meant to be used in production environments, you should use the solver instead. It's primarily for testing purposes and should not be used in a real application.
It's also not being as actively developed as the rest of the Cap ecosystem, so it may not support all features.
The code above doesn't validate if the challenges are valid and not potentially malicious. If you're getting the challenge list from an untrusted source, make sure to validate it before giving them to the user.