Class DotnetNewListOptions
- Namespace
- Invex.Atom.Module.Dotnet.Cli
- Assembly
- Invex.Atom.Module.Dotnet.dll
public sealed record DotnetNewListOptions
- Inheritance
-
objectDotnetNewListOptions
Constructors
DotnetNewListOptions()
public DotnetNewListOptions()
Properties
Author
Filters the templates based on the template author.
public string? Author { get; init; }
Property Value
- string
Columns
Specifies the columns to display in the output.
public string[]? Columns { get; init; }
Property Value
- string[]
ColumnsAll
Displays all columns in the output.
public bool? ColumnsAll { get; init; }
Property Value
- bool?
IgnoreConstraints
Disables checking if the template meets the constraints to be run.
public bool? IgnoreConstraints { get; init; }
Property Value
- bool?
Language
Filters templates based on language.
public string? Language { get; init; }
Property Value
- string
Output
Location to place the generated output.
public FileInfo? Output { get; init; }
Property Value
- FileInfo
Project
The project that should be used for context evaluation.
public FileInfo? Project { get; init; }
Property Value
- FileInfo
Tag
Filters the templates based on the tag.
public string? Tag { get; init; }
Property Value
- string
Type
Filters templates based on available types. Predefined values are "project" and "item".
public string? Type { get; init; }
Property Value
- string
Methods
ToArguments()
Converts these options to individual command-line arguments, in schema order.
public IReadOnlyList<string> ToArguments()
Returns
- IReadOnlyList<string>
The arguments. Each option name and each value is a separate element, so values need no quoting.