namespace Matrix42.Extensions.Scaffolder.Core
{
///
/// Describes a single file to generate from a template.
///
public sealed class TemplateFile
{
///
/// Path relative to project folder (for project files)
/// or ExtensionPath (for root-level files).
/// Example: "Controllers\\TestController.cs" or "BuildEvent.cmd".
///
public string RelativePath { get; set; }
///
/// Template content (with tokens like {ns}, {projectName} etc.).
///
public string Content { get; set; }
///
/// If true, file is only created if it doesn't exist.
/// If false, it will be overwritten.
///
public bool CreateIfMissingOnly { get; set; } = true;
}
}