diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/GetSourceCommand.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/GetSourceCommand.cs index 54711fbc31..97dfe23944 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/GetSourceCommand.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/GetSourceCommand.cs @@ -61,6 +61,12 @@ namespace Volo.Abp.Cli.Commands Logger.LogInformation("Output folder: " + outputFolder); + var gitHubLocalRepositoryPath = commandLineArgs.Options.GetOrNull(Options.GitHubLocalRepositoryPath.Long); + if (gitHubLocalRepositoryPath != null) + { + Logger.LogInformation("GitHub Local Repository Path: " + gitHubLocalRepositoryPath); + } + commandLineArgs.Options.Add(CliConsts.Command, commandLineArgs.Command); var result = await ModuleProjectBuilder.BuildAsync( @@ -70,6 +76,7 @@ namespace Volo.Abp.Cli.Commands version, DatabaseProvider.NotSpecified, UiFramework.NotSpecified, + gitHubLocalRepositoryPath, commandLineArgs.Options ) ); @@ -147,6 +154,11 @@ namespace Volo.Abp.Cli.Commands public const string Long = "output-folder"; } + public static class GitHubLocalRepositoryPath + { + public const string Long = "abp-path"; + } + public static class Version { public const string Short = "v";