-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathPodmanComposeRmOptions.Generated.cs
More file actions
53 lines (43 loc) · 1.43 KB
/
PodmanComposeRmOptions.Generated.cs
File metadata and controls
53 lines (43 loc) · 1.43 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
// <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>
/// Removes stopped service containers
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("compose", "rm")]
public record PodmanComposeRmOptions : PodmanOptions
{
/// <summary>
/// Execute command in dry run mode
/// </summary>
[CliFlag("--dry-run")]
public bool? DryRun { get; set; }
/// <summary>
/// Don't ask to confirm removal
/// </summary>
[CliFlag("--force", ShortForm = "-f")]
public bool? Force { get; set; }
/// <summary>
/// Stop the containers, if required, before removing
/// </summary>
[CliFlag("--stop", ShortForm = "-s")]
public bool? Stop { get; set; }
/// <summary>
/// Remove any anonymous volumes attached to containers
/// </summary>
[CliFlag("--volumes", ShortForm = "-v")]
public bool? Volumes { get; set; }
[CliArgument(0, Placement = ArgumentPlacement.BeforeOptions)]
public string? Options { get; set; }
[CliArgument(1, Placement = ArgumentPlacement.BeforeOptions)]
public string? Service { get; set; }
}