ReplaceOption.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 using System.CommandLine; 6 7 namespace ImageResizer.Cli.Options 8 { 9 public sealed class ReplaceOption : Option<bool> 10 { 11 private static readonly string[] _aliases = ["--replace", "-r"]; 12 13 public ReplaceOption() 14 : base(_aliases, Properties.Resources.CLI_Option_Replace) 15 { 16 } 17 } 18 }