Refactor output path usage in CLI

This commit is contained in:
Alexey Golub
2019-02-09 19:41:08 +02:00
parent 991dfccf3c
commit 20ff4a15eb
4 changed files with 20 additions and 27 deletions

View File

@@ -9,8 +9,8 @@ namespace DiscordChatExporter.Cli.Verbs.Options
[Option('f', "format", Default = ExportFormat.HtmlDark, HelpText = "Output file format.")]
public ExportFormat ExportFormat { get; set; }
[Option('o', "output", Default = null, HelpText = "Output file path.")]
public string FilePath { get; set; }
[Option('o', "output", Default = null, HelpText = "Output file or directory path.")]
public string OutputPath { get; set; }
[Option("after", Default = null, HelpText = "Limit to messages sent after this date.")]
public DateTime? After { get; set; }