mirror of
https://github.com/duplicati/duplicati.git
synced 2026-05-06 15:26:45 -04:00
20 lines
501 B
C#
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
|
|
);
|
|
|
|
}
|