Created basic CLI options.

This commit is contained in:
Filip Strajnar 2024-06-16 00:01:19 +02:00
parent 66f3d45f28
commit 86da656a1f
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,11 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CommandLine;
namespace DiscordDelete
{
[Verb("delete", HelpText = "Delete all saved messages.")]
public class DeleteOptions { }
}

View file

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using CommandLine;
namespace DiscordDelete
{
[Verb("scan", HelpText = "Delete all saved messages.")]
public class ScanOptions
{
[Option('g', "guild")]
public string? GuildId { get; set; }
[Option('c', "channel", Required = true)]
public string? ChannelId { get; set; }
}
}