jtr/Jtr.Tools.CLI/Extensions/CommandExtensions.cs
mdnapo 96c203f842
All checks were successful
Run the JSON parser tests / test (push) Has been skipped
Moved UI to separate project, added Dockerfile & renamed project
2024-10-19 12:04:40 +02:00

15 lines
527 B
C#

using System.CommandLine;
namespace Jtr.Tools.CLI.Extensions;
public static class CommandExtensions
{
public static void AddInputOutputCommandOptions(this Command command)
{
command.AddOption(SharedCommandOptions.InputOption);
command.AddOption(SharedCommandOptions.InputFileOption);
command.AddArgument(SharedCommandOptions.InputArgument);
command.AddOption(SharedCommandOptions.OutputOption);
command.AddOption(SharedCommandOptions.OutputFileOption);
}
}