Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When inexisting --track/--exercise options are provided, CLI does not error #885

Open
NobbZ opened this issue Sep 29, 2019 · 0 comments
Open

Comments

@NobbZ
Copy link
Member

NobbZ commented Sep 29, 2019

Current behaviour

When one provides an inexisting combination of track and exercise switches on the terminal, then the CLI will report successful download to $(exercism workspace)/users:

$ exercism download --track=erlang --exercise=hello

Downloaded to
/home/nmelzer/exercism/users

After the download there will be a .exercism folder with a metadata.json in it. It has the following contents:

{"track":"","exercise":"","id":"","url":"","handle":"","is_requester":false,"auto_approve":false}

Expected behaviour

The CLI should tell us with an error message that the track/exercise does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants