diff --git a/src/Moniker.Cli/Program.cs b/src/Moniker.Cli/Program.cs index 90fea1a..3a77818 100644 --- a/src/Moniker.Cli/Program.cs +++ b/src/Moniker.Cli/Program.cs @@ -1,43 +1,42 @@ using JetBrains.Annotations; using McMaster.Extensions.CommandLineUtils; -namespace Moniker.Cli +namespace Moniker.Cli; + +[Command(Name = "moniker", FullName = "moniker", Description = "Moniker command line interface")] +[VersionOptionFromMember(MemberName = nameof(GetVersion))] +internal class Program { - [Command(Name = "moniker", FullName = "moniker", Description = "Moniker command line interface")] - [VersionOptionFromMember(MemberName = nameof(GetVersion))] - internal class Program + private readonly IConsole _console; + + public Program(IConsole console) => _console = console; + + [Option("-s|--style