Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sbt submit gives "not a valid command" error

Tags:

scala

sbt

Trying to submit my assignments. Looks easy from the demo, but receiving weird error. SBT version is correct. What may be wrong?

> sbt-version
[info] 0.12.4
> submit
[error] Not a valid command: submit (similar: set)
[error] Expected '/'
[error] Expected ':'
[error] Not a valid key: submit
like image 304
Timur Sadykov Avatar asked Sep 27 '13 10:09

Timur Sadykov


1 Answers

You need to be using the code package for the course downloaded from the Coursera course web site, otherwise there will be no submit command available as it's not a built-in of SBT or Scala or anything. This is also covered by the tutorial video lecture, and you will be able to obtain the link from the course site.

Also, you need to provide your e-mail address and submission key (which you can obtain from the course web site) as parameters to the submit command.

like image 178
Erik Kaplun Avatar answered Oct 21 '22 19:10

Erik Kaplun