|
|
@ -95,7 +95,7 @@ public class NewCommand : IConsoleCommand, ITransientDependency |
|
|
|
|
|
|
|
|
context.OutputFolder = outputFolder; |
|
|
context.OutputFolder = outputFolder; |
|
|
|
|
|
|
|
|
if (_cliOptions.Templates.FirstOrDefault(e => e.Name == template) != null) |
|
|
if (_cliOptions.Templates.FirstOrDefault(e => e.Name == template) != null && template =="local") |
|
|
{ |
|
|
{ |
|
|
var source = commandLineArgs.Options.GetOrNull(CommandOptions.Source.Short, CommandOptions.Source.Long); |
|
|
var source = commandLineArgs.Options.GetOrNull(CommandOptions.Source.Short, CommandOptions.Source.Long); |
|
|
context.TemplateFolder = source; |
|
|
context.TemplateFolder = source; |
|
|
|