-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathChocoFeatureOptions.Generated.cs
More file actions
120 lines (100 loc) · 4.71 KB
/
ChocoFeatureOptions.Generated.cs
File metadata and controls
120 lines (100 loc) · 4.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Do not edit this file manually.
// </auto-generated>
#nullable enable
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Chocolatey.Options;
namespace ModularPipelines.Chocolatey.Options;
/// <summary>
/// NOTE: See scripting in the command reference (`choco --help`) for how to
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("feature")]
public record ChocoFeatureOptions : ChocoOptions
{
/// <summary>
/// Online - Open help for specified command in default browser application. This option only works when used in combination with the -?/--help/-h option. Available in 2.0.0+
/// </summary>
[CliFlag("--online")]
public bool? Online { get; set; }
/// <summary>
/// Debug - Show debug messaging.
/// </summary>
[CliFlag("--debug", ShortForm = "-d")]
public bool? Debug { get; set; }
/// <summary>
/// Verbose - Show verbose messaging. Very verbose messaging, avoid using under normal circumstances.
/// </summary>
[CliFlag("--verbose", ShortForm = "-v")]
public bool? Verbose { get; set; }
/// <summary>
/// Trace - Show trace messaging. Very, very verbose trace messaging. Avoid except when needing super low-level .NET Framework debugging.
/// </summary>
[CliFlag("--trace")]
public bool? Trace { get; set; }
/// <summary>
/// Force - force the behavior. Do not use force during normal operation - it subverts some of the smart behavior for commands.
/// </summary>
[CliFlag("--force", ShortForm = "-f")]
public bool? Force { get; set; }
/// <summary>
/// Include header names when --limit-output is used. Requires Chocolatey CLI 2.5.0+
/// </summary>
[CliFlag("--include-headers")]
public bool? IncludeHeaders { get; set; }
/// <summary>
/// UseSystemPowerShell - Execute PowerShell using an external process instead of the built-in PowerShell host. Should only be used when internal host is failing.
/// </summary>
[CliFlag("--use-system-powershell")]
public bool? UseSystemPowershell { get; set; }
/// <summary>
/// Do Not Show Progress - Do not show download progress percentages.
/// </summary>
[CliFlag("--no-progress")]
public bool? NoProgress { get; set; }
/// <summary>
/// Proxy Location - Explicit proxy location. Overrides the default proxy location of ''.
/// </summary>
[CliOption("--proxy", Format = OptionFormat.EqualsSeparated)]
public string? Proxy { get; set; }
/// <summary>
/// Proxy User Name - Explicit proxy user (optional). Requires explicit proxy (`--proxy` or config setting). Overrides the default proxy user of ''.
/// </summary>
[CliOption("--proxy-user", Format = OptionFormat.EqualsSeparated)]
public string? ProxyUser { get; set; }
/// <summary>
/// Proxy Password - Explicit proxy password (optional) to be used with user name. Encrypted. Requires explicit proxy (`--proxy` or config setting) and user name (`--proxy-user` or config setting). Overrides the default proxy password.
/// </summary>
[SecretValue]
[CliOption("--proxy-password", Format = OptionFormat.EqualsSeparated)]
public string? ProxyPassword { get; set; }
/// <summary>
/// ProxyBypassList - Comma separated list of regex locations to bypass on proxy. Requires explicit proxy (`--proxy` or config setting). Overrides the default proxy bypass list of ''.
/// </summary>
[CliOption("--proxy-bypass-list", Format = OptionFormat.EqualsSeparated)]
public string? ProxyBypassList { get; set; }
/// <summary>
/// Proxy Bypass On Local - Bypass proxy for local connections. Requires explicit proxy (`--proxy` or config setting). Overrides the default proxy bypass on local setting of 'True'.
/// </summary>
[CliFlag("--proxy-bypass-on-local")]
public bool? ProxyBypassOnLocal { get; set; }
/// <summary>
/// Log File to output to in addition to regular loggers.
/// </summary>
[CliOption("--log-file", Format = OptionFormat.EqualsSeparated)]
public string? LogFile { get; set; }
/// <summary>
/// Ignore any HTTP caches that have previously been created when querying sources, and create new caches. Available in 2.1.0+
/// </summary>
[CliFlag("--ignore-http-cache")]
public bool? IgnoreHttpCache { get; set; }
/// <summary>
/// Name - the name of the source. Required with actions other than list. Defaults to empty.
/// </summary>
[CliOption("--name", ShortForm = "-n", Format = OptionFormat.EqualsSeparated)]
public string? Name { get; set; }
}