From a286129f4a909ea55f0b02cfb91981daf07b6b60 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sat, 16 Apr 2022 10:43:25 -0400 Subject: [PATCH] vcreate: Allow custom default license (#14046) --- cmd/tools/vcreate.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tools/vcreate.v b/cmd/tools/vcreate.v index 65e85740af..b09011bbc8 100644 --- a/cmd/tools/vcreate.v +++ b/cmd/tools/vcreate.v @@ -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