-
-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathGrypeDbImportOptions.Generated.cs
More file actions
53 lines (44 loc) · 1.55 KB
/
GrypeDbImportOptions.Generated.cs
File metadata and controls
53 lines (44 loc) · 1.55 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.Grype.Options;
namespace ModularPipelines.Grype.Options;
/// <summary>
/// import a vulnerability database archive from a local FILE or URL.
/// </summary>
[GeneratedCode("ModularPipelines.OptionsGenerator", "")]
[ExcludeFromCodeCoverage]
[CliSubCommand("db", "import")]
public record GrypeDbImportOptions : GrypeOptions
{
/// <summary>
/// help for import
/// </summary>
[CliFlag("--help", ShortForm = "-h")]
public bool? Help { get; set; }
/// <summary>
/// grype configuration file(s) to use
/// </summary>
[CliOption("--config", ShortForm = "-c", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? Config { get; set; }
/// <summary>
/// configuration profiles to use
/// </summary>
[CliOption("--profile", Format = OptionFormat.EqualsSeparated, AllowMultiple = true)]
public IEnumerable<string>? Profile { get; set; }
/// <summary>
/// suppress all logging output
/// </summary>
[CliFlag("--quiet", ShortForm = "-q")]
public bool? Quiet { get; set; }
/// <summary>
/// increase verbosity (-v = info, -vv = debug)
/// </summary>
[CliOption("--verbose", ShortForm = "-v", Format = OptionFormat.EqualsSeparated)]
public int? Verbose { get; set; }
}