Browse Source
Merge branch 'dev' into liangshiwei/cli-custom-template-path
pull/2948/head
LiangShiWei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
29 additions and
3 deletions
-
docs/en/CLI.md
-
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/ProjectBuildArgs.cs
|
|
|
@ -128,9 +128,35 @@ abp update [options] |
|
|
|
* `--npm`: Only updates NPM packages. |
|
|
|
* `--nuget`: Only updates NuGet packages. |
|
|
|
|
|
|
|
### switch-to-preview |
|
|
|
|
|
|
|
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] |
|
|
|
```` |
|
|
|
#### 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] |
|
|
|
```` |
|
|
|
#### 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 |
|
|
|
Some features of the CLI requires to be logged in to abp.io platform. To login with your username write: |
|
|
|
|
|
|
|
```bash |
|
|
|
abp login <username> |
|
|
|
|
|
|
|
@ -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; } |
|
|
|
@ -36,7 +36,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, |
|
|
|
[CanBeNull] string templateSource = null, |
|
|
|
Dictionary<string, string> extraProperties = null) |
|
|
|
|