rework to have only 1 exe!

This commit is contained in:
Alex Bezdieniezhnykh
2024-12-04 20:51:26 +02:00
parent 3944df8efe
commit 60519461a1
25 changed files with 194 additions and 198 deletions
+4 -9
View File
@@ -1,12 +1,7 @@
using CommandLine;
namespace Azaion.Common.DTO;
namespace Azaion.Common.DTO;
public class ApiCredentials
public class ApiCredentials(string email, string password) : EventArgs
{
[Option('e', "email", Required = true, HelpText = "The email for authorization.")]
public string Email { get; set; } = null!;
[Option('p', "password", Required = true, HelpText = "The password for authorization.")]
public string Password { get; set; } = null!;
public string Email { get; set; } = email;
public string Password { get; set; } = password;
}