vcreate: Allow custom default license (#14046)
							parent
							
								
									53fde9c812
								
							
						
					
					
						commit
						a286129f4a
					
				|  | @ -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