mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-12 10:18:27 -04:00
More restructuring
This commit is contained in:
27
src/Nadeko.Bot.Modules.Help/CommandsOptions.cs
Normal file
27
src/Nadeko.Bot.Modules.Help/CommandsOptions.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
#nullable disable
|
||||
using CommandLine;
|
||||
using NadekoBot.Common;
|
||||
|
||||
namespace NadekoBot.Modules.Help.Common;
|
||||
|
||||
public class CommandsOptions : INadekoCommandOptions
|
||||
{
|
||||
public enum ViewType
|
||||
{
|
||||
Hide,
|
||||
Cross,
|
||||
All
|
||||
}
|
||||
|
||||
[Option('v',
|
||||
"view",
|
||||
Required = false,
|
||||
Default = ViewType.Hide,
|
||||
HelpText =
|
||||
"Specifies how to output the list of commands. 0 - Hide commands which you can't use, 1 - Cross out commands which you can't use, 2 - Show all.")]
|
||||
public ViewType View { get; set; } = ViewType.Hide;
|
||||
|
||||
public void NormalizeOptions()
|
||||
{
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user