Make CLI attributes look tidier

This commit is contained in:
Oleksii Holub
2022-06-19 12:21:09 +03:00
parent 65a528e7fe
commit 62400f305a
6 changed files with 78 additions and 16 deletions

View File

@@ -12,7 +12,12 @@ namespace DiscordChatExporter.Cli.Commands;
[Command("channels", Description = "Get the list of channels in a guild.")]
public class GetChannelsCommand : TokenCommandBase
{
[CommandOption("guild", 'g', IsRequired = true, Description = "Guild ID.")]
[CommandOption(
"guild",
'g',
IsRequired = true,
Description = "Guild ID."
)]
public Snowflake GuildId { get; init; }
public override async ValueTask ExecuteAsync(IConsole console)