Created
January 13, 2019 02:50
-
-
Save CristianoRC/88f5bf190d47c7d9c351af4aec9f27c1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using CommandLine; | |
namespace parametros | |
{ | |
public class Options | |
{ | |
[Option('v', "verbose", Required = false, HelpText = "Executar mostrando detalhes")] | |
public bool Verbose { get; set; } | |
[Option('c', "color", Required = false, HelpText = "Cor da fonte")] | |
public string Color { get; set; } | |
[Option('t', "title", Required = true, HelpText = "Título para mostrar em modo 'verboso'")] | |
public string Title { get; set; } | |
[Option('n', "name", Required = true, HelpText = "Seu nome Completo ex. 'Cristiano Cunha'")] | |
public string Name { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment