Browse Source

Merge branch 'dev' into liangshiwei/cli-custom-template-path

pull/2948/head
LiangShiWei 7 years ago
committed by GitHub
parent
commit
71fe56ae35
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 28
      docs/en/CLI.md
  2. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectBuilding/ProjectBuildArgs.cs

28
docs/en/CLI.md

@ -128,9 +128,35 @@ abp update [options]
* `--npm`: Only updates NPM packages. * `--npm`: Only updates NPM packages.
* `--nuget`: Only updates NuGet 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 ### 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 ```bash
abp login <username> abp login <username>

4
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 UiFramework UiFramework { get; set; }
public MobileApp MobileApp { get; set; } public MobileApp? MobileApp { get; set; }
[CanBeNull] [CanBeNull]
public string AbpGitHubLocalRepositoryPath { get; set; } public string AbpGitHubLocalRepositoryPath { get; set; }
@ -36,7 +36,7 @@ namespace Volo.Abp.Cli.ProjectBuilding
[CanBeNull] string version = null, [CanBeNull] string version = null,
DatabaseProvider databaseProvider = DatabaseProvider.NotSpecified, DatabaseProvider databaseProvider = DatabaseProvider.NotSpecified,
UiFramework uiFramework = UiFramework.NotSpecified, UiFramework uiFramework = UiFramework.NotSpecified,
MobileApp mobileApp = MobileApp.ReactNative, MobileApp? mobileApp = null,
[CanBeNull] string abpGitHubLocalRepositoryPath = null, [CanBeNull] string abpGitHubLocalRepositoryPath = null,
[CanBeNull] string templateSource = null, [CanBeNull] string templateSource = null,
Dictionary<string, string> extraProperties = null) Dictionary<string, string> extraProperties = null)

Loading…
Cancel
Save