chore: bootstrap repository foundation

Solution layout, build rules with zero-package guard, in-house test
framework, localization runtime, brand mark rasteriser with ICO/PNG
generation, Core contracts (imaging, video, domain model, TIFF reader),
Titano.Tools (make-icon, i18n, xaml-lint, package-guard) and docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 08:59:40 +00:00
1 parent def3fadb6e
commit 83a54fb57b
109 files changed
+7523

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
using Titano.Tools;
using Titano.Tools.Commands;
var commands = new ICommand[]
{
new MakeIconCommand(),
new I18nCommand(),
new XamlLintCommand(),
new PackageGuardCommand(),
};
if (args.Length == 0 || args[0] is "-h" or "--help" or "help")
{
Console.WriteLine("Titano.Tools <command> [options]");
foreach (var c in commands) Console.WriteLine($" {c.Name,-14} {c.Summary}");
return args.Length == 0 ? 2 : 0;
}
var command = commands.FirstOrDefault(c => c.Name.Equals(args[0], StringComparison.OrdinalIgnoreCase));
if (command is null)
{
Console.Error.WriteLine($"Unknown command '{args[0]}'. Run with --help.");
return 2;
}
try
{
return await command.RunAsync(args[1..]);
}
catch (ToolException ex)
{
Console.Error.WriteLine(ex.Message);
return 2;
}