using PKISharp.WACS.Configuration; using System.Threading.Tasks; namespace PKISharp.WACS.Services { public interface IArgumentsService { MainArguments MainArguments { get; } T? GetArguments() where T : class, new(); bool Active { get; } bool Valid { get; } bool HasFilter(); Task TryGetArgument(string? providedValue, IInputService input, string what, bool secret = false); Task TryGetArgument(string? providedValue, IInputService input, string[] what, bool secret = false); string TryGetRequiredArgument(string optionName, string? providedValue); void ShowHelp(); void ShowCommandLine(); } }