-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathCargoInitOptions.Generated.cs
More file actions
84 lines (70 loc) · 2.12 KB
/
CargoInitOptions.Generated.cs
File metadata and controls
84 lines (70 loc) · 2.12 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
// <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>
/// Create a new cargo package in an existing directory
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("init")]
public record CargoInitOptions : CargoOptions
{
/// <summary>
/// Initialize a new repository for the given version control system,
/// </summary>
[CliOption("--vcs")]
public string? Vcs { get; set; }
/// <summary>
/// Use a binary (application) template [default]
/// </summary>
[CliFlag("--bin")]
public bool? Bin { get; set; }
/// <summary>
/// Use a library template
/// </summary>
[CliFlag("--lib")]
public bool? Lib { get; set; }
/// <summary>
/// Edition to set for the crate generated [possible values: 2015,
/// </summary>
[CliOption("--edition")]
public string? Edition { get; set; }
/// <summary>
/// Set the resulting package name, defaults to the directory name
/// </summary>
[CliOption("--name")]
public string? Name { get; set; }
/// <summary>
/// Registry to use
/// </summary>
[CliOption("--registry")]
public string? Registry { 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; }
}