From 9c5c4a04c609be5bc3f222de640a71ed570a98a4 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Thu, 20 Feb 2020 13:41:06 +0300 Subject: [PATCH 1/3] Update CLI.md --- docs/en/CLI.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/en/CLI.md b/docs/en/CLI.md index a1d3d51138..531922baec 100644 --- a/docs/en/CLI.md +++ b/docs/en/CLI.md @@ -128,6 +128,24 @@ abp update [options] * `--npm`: Only updates NPM packages. * `--nuget`: Only updates NuGet packages. +### Switch to nightly build (preview) packages + +To switch your project to latest preview version of ABP framework, you can use this command. + +Usage: + +````bash +abp switch-to-preview [options] +```` +You can also switch back to stable version using: + +````bash +abp switch-to-stable [options] +```` +#### Options + +`--solution-path` or `-sp`: Specifies the solution (.sln) file path. If not specified, CLI tries to find a .sln file in the current directory. + ### login Some features of the CLI requires to be logged in to abp.io platform. To login with your username write From 8889d62207fd52013ceed4e48aa131db162e664f Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Mon, 2 Mar 2020 11:35:25 +0300 Subject: [PATCH 2/3] ProjectBuildArgs mobileApp nullable --- .../Abp/Cli/Commands/Services/SourceCodeDownloadService.cs | 1 + .../Volo/Abp/Cli/ProjectBuilding/ProjectBuildArgs.cs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/Services/SourceCodeDownloadService.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/Services/SourceCodeDownloadService.cs index 1055b43f61..c8c6c0453c 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/Services/SourceCodeDownloadService.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Commands/Services/SourceCodeDownloadService.cs @@ -38,6 +38,7 @@ namespace Volo.Abp.Cli.Commands.Services version, DatabaseProvider.NotSpecified, UiFramework.NotSpecified, + null, gitHubLocalRepositoryPath, options ) diff --git a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/ProjectBuildArgs.cs b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/ProjectBuildArgs.cs index bb20c19e80..4a6a2fbe9d 100644 --- a/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/ProjectBuildArgs.cs +++ b/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/ProjectBuildArgs.cs @@ -19,7 +19,7 @@ namespace Volo.Abp.Cli.ProjectBuilding public UiFramework UiFramework { get; set; } - public MobileApp MobileApp { get; set; } + public MobileApp? MobileApp { get; set; } [CanBeNull] public string AbpGitHubLocalRepositoryPath { get; set; } @@ -33,7 +33,7 @@ namespace Volo.Abp.Cli.ProjectBuilding [CanBeNull] string version = null, DatabaseProvider databaseProvider = DatabaseProvider.NotSpecified, UiFramework uiFramework = UiFramework.NotSpecified, - MobileApp mobileApp = MobileApp.ReactNative, + MobileApp? mobileApp = null, [CanBeNull] string abpGitHubLocalRepositoryPath = null, Dictionary extraProperties = null) { From f1e863cc764837edb59805e423361a0105a2002e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Mon, 2 Mar 2020 11:43:16 +0300 Subject: [PATCH 3/3] Update CLI.md --- docs/en/CLI.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/en/CLI.md b/docs/en/CLI.md index 2c20e37f70..7dccf4ee6d 100644 --- a/docs/en/CLI.md +++ b/docs/en/CLI.md @@ -128,16 +128,24 @@ abp update [options] * `--npm`: Only updates NPM packages. * `--nuget`: Only updates NuGet packages. -### Switch to nightly build (preview) packages +### switch-to-preview -To switch your project to latest preview version of ABP framework, you can use this command. +You can use this command to switch your project to latest preview version of the ABP framework packages. Usage: ````bash abp switch-to-preview [options] ```` -You can also switch back to stable version using: +#### Options + +`--solution-path` or `-sp`: Specifies the solution (.sln) file path. If not specified, CLI tries to find a .sln file in the current directory. + +### switch-to-stable + +If you're using the ABP Framework preview packages, you can switch back to stable version using this command. + +Usage: ````bash abp switch-to-stable [options] @@ -148,7 +156,7 @@ abp switch-to-stable [options] ### login -Some features of the CLI requires to be logged in to abp.io platform. To login with your username write +Some features of the CLI requires to be logged in to abp.io platform. To login with your username write: ```bash abp login