Refactor folder structure

This commit is contained in:
2026-02-18 00:50:46 +09:00
parent 426786397c
commit db8ca971a8
413 changed files with 2885 additions and 3634 deletions

View File

@@ -0,0 +1,35 @@
namespace Ghost.Editor.Models;
[AttributeUsage(AttributeTargets.Property)]
internal sealed class ArgumentNameAttribute : Attribute
{
public string Name
{
get;
}
public ArgumentNameAttribute(string name)
{
Name = name;
}
}
internal class LaunchArguments
{
[ArgumentName("project-path")]
public string ProjectPath
{
get; set;
} = string.Empty;
[ArgumentName("project-name")]
public string ProjectName
{
get; set;
} = string.Empty;
public bool IsValid()
{
return Directory.Exists(ProjectPath) && !string.IsNullOrWhiteSpace(ProjectName);
}
}