-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathPodmanComposeLogsOptions.Generated.cs
More file actions
83 lines (68 loc) · 2.42 KB
/
PodmanComposeLogsOptions.Generated.cs
File metadata and controls
83 lines (68 loc) · 2.42 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
// <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>
/// View output from containers
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("compose", "logs")]
public record PodmanComposeLogsOptions : PodmanOptions
{
/// <summary>
/// Execute command in dry run mode
/// </summary>
[CliFlag("--dry-run")]
public bool? DryRun { get; set; }
/// <summary>
/// Follow log output
/// </summary>
[CliFlag("--follow", ShortForm = "-f")]
public bool? Follow { get; set; }
/// <summary>
/// index of the container if service has multiple replicas
/// </summary>
[CliOption("--index", Format = OptionFormat.EqualsSeparated)]
public int? Index { get; set; }
/// <summary>
/// Produce monochrome output
/// </summary>
[CliFlag("--no-color")]
public bool? NoColor { get; set; }
/// <summary>
/// Don't print prefix in logs
/// </summary>
[CliFlag("--no-log-prefix")]
public bool? NoLogPrefix { get; set; }
/// <summary>
/// Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
/// </summary>
[CliOption("--since", Format = OptionFormat.EqualsSeparated)]
public string? Since { get; set; }
/// <summary>
/// Number of lines to show from the end of the logs for each container (default "all")
/// </summary>
[CliOption("--tail", ShortForm = "-n", Format = OptionFormat.EqualsSeparated)]
public string? Tail { get; set; }
/// <summary>
/// Show timestamps
/// </summary>
[CliFlag("--timestamps", ShortForm = "-t")]
public bool? Timestamps { get; set; }
/// <summary>
/// Show logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
/// </summary>
[CliOption("--until", Format = OptionFormat.EqualsSeparated)]
public string? Until { get; set; }
[CliArgument(0, Placement = ArgumentPlacement.BeforeOptions)]
public string? Options { get; set; }
[CliArgument(1, Placement = ArgumentPlacement.BeforeOptions)]
public string? Service { get; set; }
}