chore: initialize standalone UPM package
Publish UPM package / publish (push) Failing after 1s

This commit is contained in:
2026-08-26 02:49:36 +08:00
commit efe3a22a06
36 changed files with 1736 additions and 0 deletions
@@ -0,0 +1,25 @@
using System;
namespace ShrinkCommand
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
public sealed class ShrinkCommandSubscriberAttribute : Attribute
{
}
[AttributeUsage(AttributeTargets.Method, Inherited = false, AllowMultiple = true)]
public sealed class ShrinkCommandAttribute : Attribute
{
public ShrinkCommandAttribute(string path)
{
Path = string.IsNullOrWhiteSpace(path) ? string.Empty : path.Trim();
}
public string Path { get; }
public string Description { get; set; } = string.Empty;
public string Permission { get; set; } = string.Empty;
public ShrinkCommandSourceKind SourceKind { get; set; } = ShrinkCommandSourceKind.Any;
public bool Hidden { get; set; }
public string[] Aliases { get; set; } = Array.Empty<string>();
}
}