V init: Add all prompts as flags as well
Adds
Flags on v init:
--description (if '' - empty string, then it's gonna prompt)
--project-version (--version conflicted with v's version, default: 0.0.0)
--license (default: MIT)
Reason / What it fixes:
As a user, I wanted to make a quick bin/sh command that would auto-create a project with v without any prompts, I wanted all to be automatically and the prompts would auto-fill themselves with the information I already had from the script. But prompts preventing that.
Even if there is another way, it feels much more straightforward to just have the prompts accessible as flags, so the user can notice them immediately.
To suggest a possible alternative, there could be a no-interactive flag to create a project with just the name. Desc, license and version would have to be changed manually in the mod file. Something like this might be used more often than the single flags.
No, I prefer the flags version that is here.
The ability to give custom values through flags, is easier to script externally, than creating files with specific content.