namespace MsbuildAnalyzer.Models;
///
/// Represents an Nx target that can be executed.
///
public record Target
{
///
/// The command to execute (e.g., "dotnet build").
///
public string? Command { get; init; }
///
/// Options for executing the command.
///
public TargetOptions? Options { get; init; }
///
/// Configuration variants for this target (e.g., Debug, Release).
///
public Dictionary? Configurations { get; init; }
///
/// Other targets this target depends on.
///
public string[]? DependsOn { get; init; }
///
/// Whether this target should be cached.
///
public bool? Cache { get; init; }
///
/// Whether this target runs continuously.
///
public bool? Continuous { get; init; }
///
/// Input patterns for cache invalidation.
///
public object[]? Inputs { get; init; }
///
/// Output patterns for caching.
///
public string[]? Outputs { get; init; }
///
/// Additional metadata about the target.
///
public TargetMetadata? Metadata { get; init; }
}