-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathCargoInstallOptions.Generated.cs
More file actions
138 lines (115 loc) · 3.46 KB
/
CargoInstallOptions.Generated.cs
File metadata and controls
138 lines (115 loc) · 3.46 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
// <auto-generated>
// This file was generated by ModularPipelines.OptionsGenerator.
// Source: https://doc.rust-lang.org/cargo/commands/
// Do not edit this file manually.
// </auto-generated>
#nullable enable
using System.CodeDom.Compiler;
using System.Diagnostics.CodeAnalysis;
using ModularPipelines.Attributes;
using ModularPipelines.Rust.Options;
namespace ModularPipelines.Rust.Options;
/// <summary>
/// Install a Rust binary
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("install")]
public record CargoInstallOptions : CargoOptions
{
/// <summary>
/// Specify a version to install
/// </summary>
[CliOption("--version")]
public string? Version { get; set; }
/// <summary>
/// Registry index to install from
/// </summary>
[CliOption("--index")]
public string? Index { get; set; }
/// <summary>
/// Registry to use
/// </summary>
[CliOption("--registry")]
public string? Registry { get; set; }
/// <summary>
/// Git URL to install the specified crate from
/// </summary>
[CliOption("--git")]
public string? Git { get; set; }
/// <summary>
/// Branch to use when installing from git
/// </summary>
[CliOption("--branch")]
public string? Branch { get; set; }
/// <summary>
/// Tag to use when installing from git
/// </summary>
[CliOption("--tag")]
public string? Tag { get; set; }
/// <summary>
/// Specific commit to use when installing from git
/// </summary>
[CliOption("--rev")]
public string? Rev { get; set; }
/// <summary>
/// Filesystem path to local crate to install from
/// </summary>
[CliOption("--path")]
public string? Path { get; set; }
/// <summary>
/// Directory to install packages into
/// </summary>
[CliOption("--root")]
public string? Root { get; set; }
/// <summary>
/// Force overwriting existing crates or binaries
/// </summary>
[CliFlag("--force", ShortForm = "-f")]
public bool? Force { get; set; }
/// <summary>
/// Perform all checks without installing (unstable)
/// </summary>
[CliFlag("--dry-run", ShortForm = "-n")]
public bool? DryRun { get; set; }
/// <summary>
/// Do not save tracking information
/// </summary>
[CliFlag("--no-track")]
public bool? NoTrack { get; set; }
/// <summary>
/// List all installed packages and their versions
/// </summary>
[CliFlag("--list")]
public bool? List { get; set; }
/// <summary>
/// Error format [possible values: human, short, json,
/// </summary>
[CliOption("--message-format")]
public string? MessageFormat { get; set; }
/// <summary>
/// Build in debug mode (with the 'dev' profile) instead of release
/// </summary>
[CliFlag("--debug")]
public bool? Debug { get; set; }
/// <summary>
/// Do not print cargo log messages
/// </summary>
[CliFlag("--quiet", ShortForm = "-q")]
public bool? Quiet { get; set; }
/// <summary>
/// Coloring [possible values: auto, always, never]
/// </summary>
[CliOption("--color")]
public string? Color { get; set; }
/// <summary>
/// Override a configuration value
/// </summary>
[CliOption("--config")]
public string? Config { get; set; }
/// <summary>
/// Print help
/// </summary>
[CliFlag("--help", ShortForm = "-h")]
public bool? Help { get; set; }
}