-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathPodmanComposeOptions.Generated.cs
More file actions
90 lines (75 loc) · 2.91 KB
/
PodmanComposeOptions.Generated.cs
File metadata and controls
90 lines (75 loc) · 2.91 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
// <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;
using ModularPipelines.Podman.Enums;
namespace ModularPipelines.Podman.Options;
/// <summary>
/// Run compose workloads via an external provider such as docker-compose or podman-compose
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("compose")]
public record PodmanComposeOptions : PodmanOptions
{
/// <summary>
/// Include all resources, even those not used by services
/// </summary>
[CliFlag("--all-resources")]
public bool? AllResources { get; set; }
/// <summary>
/// Control when to print ANSI control characters ("never"|"always"|"auto") (default "auto")
/// </summary>
[CliOption("--ansi", Format = OptionFormat.EqualsSeparated)]
public string? Ansi { get; set; }
/// <summary>
/// Run compose in backward compatibility mode
/// </summary>
[CliFlag("--compatibility")]
public bool? Compatibility { get; set; }
/// <summary>
/// Execute command in dry run mode
/// </summary>
[CliFlag("--dry-run")]
public bool? DryRun { get; set; }
/// <summary>
/// Specify an alternate environment file
/// </summary>
[CliOption("--env-file", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? EnvFile { get; set; }
/// <summary>
/// Compose configuration files
/// </summary>
[CliOption("--file", ShortForm = "-f", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? File { get; set; }
/// <summary>
/// Control max parallelism, -1 for unlimited (default -1)
/// </summary>
[CliOption("--parallel", Format = OptionFormat.EqualsSeparated)]
public int? Parallel { get; set; }
/// <summary>
/// Specify a profile to enable
/// </summary>
[CliOption("--profile", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? Profile { get; set; }
/// <summary>
/// Set type of progress output (auto, tty, plain, json, quiet)
/// </summary>
[CliOption("--progress", Format = OptionFormat.EqualsSeparated)]
public PodmanComposeProgress? Progress { get; set; }
/// <summary>
/// Specify an alternate working directory (default: the path of the, first specified, Compose file)
/// </summary>
[CliOption("--project-directory", Format = OptionFormat.EqualsSeparated)]
public string? ProjectDirectory { get; set; }
/// <summary>
/// Project name
/// </summary>
[CliOption("--project-name", ShortForm = "-p", Format = OptionFormat.EqualsSeparated)]
public string? ProjectName { get; set; }
}