CLI: download exercises without token

It’s not possible to download exercises via the exercism CLI without logging in and getting an API token. Is there a specific reason for that, or is it just an unnecessary check that can be omitted?

I’m teaching a Rust workshop and would like to tell people to do specific exercises. It would be nice if people didn’t have to sign up for that. Ideally I can just tell them to install the CLI and then copy-paste download commands for specific exercises.

Of course, they wouldn’t be able to submit their solutions. But they can still go through the login later if they wish to interact more with the platform.

I think I could probably contribute this, the CLI being written in Go.

With the current token requirement, when you download an exercise, you’ll see the status of it become “in progress”. Exercism can’t do that without knowing who you are.

If you just want the exercise files, you can get them straight from the GitHub repo. It wouldn’t be hard to script that.

2 Likes

I guess I’ll do that, thanks!

1 Like