-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathPodmanComposeCreateOptions.Generated.cs
More file actions
89 lines (73 loc) · 2.61 KB
/
PodmanComposeCreateOptions.Generated.cs
File metadata and controls
89 lines (73 loc) · 2.61 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
// <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.Podman.Options;
namespace ModularPipelines.Podman.Options;
/// <summary>
/// Creates containers for a service
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("compose", "create")]
public record PodmanComposeCreateOptions : PodmanOptions
{
/// <summary>
/// Build images before starting containers
/// </summary>
[CliFlag("--build")]
public bool? Build { get; set; }
/// <summary>
/// Execute command in dry run mode
/// </summary>
[CliFlag("--dry-run")]
public bool? DryRun { get; set; }
/// <summary>
/// Recreate containers even if their configuration and image haven't changed
/// </summary>
[CliFlag("--force-recreate")]
public bool? ForceRecreate { get; set; }
/// <summary>
/// Don't build an image, even if it's policy
/// </summary>
[CliFlag("--no-build")]
public bool? NoBuild { get; set; }
/// <summary>
/// If containers already exist, don't recreate them. Incompatible with --force-recreate.
/// </summary>
[CliFlag("--no-recreate")]
public bool? NoRecreate { get; set; }
/// <summary>
/// Pull image before running ("always"|"missing"|"never"|"build") (default "policy")
/// </summary>
[CliOption("--pull", Format = OptionFormat.EqualsSeparated)]
public string? Pull { get; set; }
/// <summary>
/// Pull without printing progress information
/// </summary>
[CliFlag("--quiet-pull")]
public bool? QuietPull { get; set; }
/// <summary>
/// Remove containers for services not defined in the Compose file
/// </summary>
[CliFlag("--remove-orphans")]
public bool? RemoveOrphans { get; set; }
/// <summary>
/// Scale SERVICE to NUM instances. Overrides the scale setting in the Compose file if present.
/// </summary>
[CliOption("--scale", Format = OptionFormat.EqualsSeparated)]
public string? Scale { get; set; }
/// <summary>
/// Assume "yes" as answer to all prompts and run non-interactively
/// </summary>
[CliFlag("--yes", ShortForm = "-y")]
public bool? Yes { get; set; }
[CliArgument(0, Placement = ArgumentPlacement.BeforeOptions)]
public string? Options { get; set; }
[CliArgument(1, Placement = ArgumentPlacement.BeforeOptions)]
public string? Service { get; set; }
}