Browse Source

CommandLineOptions to AbpCommandLineOptions

pull/1919/head
Yunus Emre Kalkan 7 years ago
parent
commit
0db4aeeda2
  1. 2
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Args/AbpCommandLineOptions.cs
  2. 4
      framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Args/CommandLineArgs.cs

2
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Args/CommandLineOptions.cs → framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Args/AbpCommandLineOptions.cs

@ -4,7 +4,7 @@ using JetBrains.Annotations;
namespace Volo.Abp.Cli.Args namespace Volo.Abp.Cli.Args
{ {
public class CommandLineOptions : Dictionary<string, string> public class AbpCommandLineOptions : Dictionary<string, string>
{ {
[CanBeNull] [CanBeNull]
public string GetOrNull([NotNull] string name, params string[] alternativeNames) public string GetOrNull([NotNull] string name, params string[] alternativeNames)

4
framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/Args/CommandLineArgs.cs

@ -14,13 +14,13 @@ namespace Volo.Abp.Cli.Args
public string Target { get; } public string Target { get; }
[NotNull] [NotNull]
public CommandLineOptions Options { get; } public AbpCommandLineOptions Options { get; }
public CommandLineArgs([CanBeNull] string command = null, [CanBeNull] string target = null) public CommandLineArgs([CanBeNull] string command = null, [CanBeNull] string target = null)
{ {
Command = command; Command = command;
Target = target; Target = target;
Options = new CommandLineOptions(); Options = new AbpCommandLineOptions();
} }
public static CommandLineArgs Empty() public static CommandLineArgs Empty()

Loading…
Cancel
Save