/
githubmirror
/
PowerToys
Обзор
Документация
Войти
/
githubmirror
/
PowerToys
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/modules/imageresizer/ui/Cli/Options/UnitOption.cs
18 строк
525 B
leileizhang
Add standard CLI support for Image Resizer (#44287)
26 дек 2025, 07:54
Не верифицирован
26 дек 2025, 07:54
673cd5a
Код
Авторство
О чём код?
// Copyright (c) Microsoft Corporation // The Microsoft Corporation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System.CommandLine; namespace ImageResizer.Cli.Options { public sealed class UnitOption : Option<ImageResizer.Models.ResizeUnit?> { private static readonly string[] _aliases = ["--unit", "-u"]; public UnitOption() : base(_aliases, Properties.Resources.CLI_Option_Unit) { } } }