2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 05:23:13 +00:00
This commit is contained in:
2024-08-31 22:24:32 +03:00
parent 5f874bc112
commit c8c291fe61
3 changed files with 53 additions and 29 deletions

View File

@ -0,0 +1,26 @@
using CommandLine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Esiur.CLI
{
internal class GetTemplateOptions
{
[Option('d', "dir", Required = false, HelpText = "Directory name where the generated models will be saved.")]
public string Dir { get; set; }
[Option('u', "username", Required = false, HelpText = "Authentication username.")]
public string Username { get; set; }
[Option('p', "password", Required = false, HelpText = "Authentication password.")]
public string Password { get; set; }
[Option('a', "async-setters", Required = false, HelpText = "Use asynchronous property setters.")]
public bool AsyncSetters { get; set; }
}
}