Table of Contents

Class CommandArg

Namespace
Invex.Atom.Build.Args
Assembly
Invex.Atom.Build.dll

Represents a command argument, which corresponds to a specific target to be executed.

public sealed record CommandArg : IArg
Inheritance
object
CommandArg
Implements

Examples

For the command atom MyTarget, a CommandArg with Name = "MyTarget" is created.

Remarks

The Name must correspond to a target defined in the IBuildDefinition.

Constructors

CommandArg(string)

Represents a command argument, which corresponds to a specific target to be executed.

public CommandArg(string Name)

Parameters

Name string

The name of the build target to execute. This is case-insensitive.

Examples

For the command atom MyTarget, a CommandArg with Name = "MyTarget" is created.

Remarks

The Name must correspond to a target defined in the IBuildDefinition.

Properties

Name

The name of the build target to execute. This is case-insensitive.

public string Name { get; init; }

Property Value

string