Class ProjectArg
Represents the argument that specifies a custom project name for the build.
public sealed record ProjectArg : IArg
- Inheritance
-
objectProjectArg
- Implements
Examples
For the command atom Build -p MyProject, a ProjectArg with ProjectName = "MyProject" is
created.
Remarks
If not specified, the build defaults to the project named "_atom".
This is triggered by the -p or --project flag.
Constructors
ProjectArg(string)
Represents the argument that specifies a custom project name for the build.
public ProjectArg(string ProjectName)
Parameters
ProjectNamestringThe name of the project to use for the build.
Examples
For the command atom Build -p MyProject, a ProjectArg with ProjectName = "MyProject" is
created.
Remarks
If not specified, the build defaults to the project named "_atom".
This is triggered by the -p or --project flag.
Properties
ProjectName
The name of the project to use for the build.
public string ProjectName { get; init; }
Property Value
- string