Add command line interface and change solution structure (#26)

This commit is contained in:
Alexey Golub 2018-01-12 20:28:36 +01:00 committed by GitHub
parent 7da82f9ef4
commit 8515efe11b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
74 changed files with 508 additions and 218 deletions

View file

@ -0,0 +1,24 @@
using System;
using DiscordChatExporter.Core.Models;
namespace DiscordChatExporter.Cli
{
public class CliOptions
{
public string Token { get; set; }
public string ChannelId { get; set; }
public ExportFormat ExportFormat { get; set; }
public string FilePath { get; set; }
public DateTime? From { get; set; }
public DateTime? To { get; set; }
public string DateFormat { get; set; }
public int MessageGroupLimit { get; set; }
}
}