Files
duplicati/ReleaseBuilder/SharedOptions.cs
2024-03-27 19:52:40 +01:00

20 lines
501 B
C#

using System.CommandLine;
namespace ReleaseBuilder;
/// <summary>
/// Options and arguments shared between commands
/// </summary>
public static class SharedOptions
{
/// <summary>
/// The password to the key file to use for signing release manifests
/// </summary>
public static readonly Option<string> passwordOption = new Option<string>(
name: "--password",
description: "The password to use for the keyfile",
getDefaultValue: () => string.Empty
);
}