codeoverflow-org / chatoverflow

What if you could combine the power of chat bots, streamer support sites and social media? This is chat overflow.
http://codeoverflow.org
Eclipse Public License 2.0
57 stars 12 forks source link

Provide default values for the api version in the create task #135

Closed hlxid closed 5 years ago

hlxid commented 5 years ago

Description

As suggested by @derNiklaas on discord we should have the current api version as the default in the sbt create task. The user shouldn't have to look at the sbt file of the api manually.

References

suggestion on discord

hlxid commented 5 years ago

Implemented in 20ec743b25562102c81db3037106ae31898451cc. The prompt now looks like this:

Please specify the major version of the api. Default is the current version (3).
Major api version >

It will fallback to the old prompt if the api project hasn't been loaded by sbt, e.g. because of a missing sbt fetch or if it isn't downloaded locally.