Suppose a person wanted to revisit some exercises from a long time ago using the CLI, but they no longer had the files locally. How would they know the name of the exercise for the download command? The web site only shows the download command for available exercises. True, it’s not too hard to guess, but I wonder if there’s an easier way.
You could look in github. For example, python’s exercises are at https://github.com/exercism/python/tree/main/exercises/practice
It’s unclear what sort of behavior you’re intending here.
My reading of this is that perhaps you want the CLI to list all the current exercises for a specific track. Presumably, the output would contain the exercise names, slugs, and statuses (available, in progress, or completed).
Thanks, that will do the trick.
If they’ve started the exercise and downloaded it from the CLI, it’ll always be available in the website, so they should always be able to get the command for it.
If there’s a case where that’s not the case, it sounds like something I should look into.
I don’t see the download command for any exercise once I have completed it.
Hi @padeso,
This is what I see when I navigate to a completed exercise in the UI:
It is a little hard to sus out, but there is a drop-down to the right of the [Open in Editor] button. Pressing that should get you a dialogue with the download command you can copy + paste.
Well, I’ll be! That’s just what I need. (People always tell me I don’t look very good; this must be what they mean.)