-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathChocoSourceOptions.Generated.cs
More file actions
151 lines (126 loc) · 6.31 KB
/
ChocoSourceOptions.Generated.cs
File metadata and controls
151 lines (126 loc) · 6.31 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
// <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>
/// When it comes to the source location, this can be a folder/file share or an http
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("source")]
public record ChocoSourceOptions : 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; }
/// <summary>
/// Source - The source. This can be a folder/file share or an http locatio- n. If it is a url, it will be a location you can go to in a browser and it returns OData with something that says Packages in the browser, similar to what you see when you go to https://community.chocolate- y.org/api/v2/. Required with add action. Defaults to empty.
/// </summary>
[CliOption("--source", ShortForm = "-s", Format = OptionFormat.EqualsSeparated)]
public string? Source { get; set; }
/// <summary>
/// User - used with authenticated feeds. Defaults to empty.
/// </summary>
[CliOption("--user", ShortForm = "-u", Format = OptionFormat.EqualsSeparated)]
public string? User { get; set; }
/// <summary>
/// Password - the user's password to the source. Encrypted in chocolate- y.config file.
/// </summary>
[SecretValue]
[CliOption("--password", ShortForm = "-p", Format = OptionFormat.EqualsSeparated)]
public string? Password { get; set; }
/// <summary>
/// Client certificate - PFX pathname for an x509 authenticated feeds. Defaults to empty.
/// </summary>
[CliOption("--cert", Format = OptionFormat.EqualsSeparated)]
public string? Cert { get; set; }
/// <summary>
/// Priority - The priority order of this source as compared to other sources, lower is better. Defaults to 0 (no priority). All priorities above 0 will be evaluated first, then zero-based values will be evaluated in config file order.
/// </summary>
[CliOption("--priority", Format = OptionFormat.EqualsSeparated)]
public string? Priority { get; set; }
}