vcreate: Allow custom default license (#14046)
parent
8a57f7ed2d
commit
1fc54a1e5b
|
@ -160,7 +160,7 @@ fn create(args []string) {
|
|||
if c.version == '' {
|
||||
c.version = default_version
|
||||
}
|
||||
default_license := 'MIT'
|
||||
default_license := os.getenv_opt('VLICENSE') or {'MIT'}
|
||||
c.license = os.input('Input your project license: ($default_license) ')
|
||||
if c.license == '' {
|
||||
c.license = default_license
|
||||
|
|
Loading…
Reference in New Issue