Some checks failed
Docs CI / lint-and-preview (push) Has been cancelled
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
Notify Smoke Test / Notify Unit Tests (push) Has been cancelled
Notify Smoke Test / Notifier Service Tests (push) Has been cancelled
Notify Smoke Test / Notification Smoke Test (push) Has been cancelled
Policy Lint & Smoke / policy-lint (push) Has been cancelled
Scanner Analyzers / Discover Analyzers (push) Has been cancelled
Scanner Analyzers / Build Analyzers (push) Has been cancelled
Scanner Analyzers / Test Language Analyzers (push) Has been cancelled
Scanner Analyzers / Validate Test Fixtures (push) Has been cancelled
Scanner Analyzers / Verify Deterministic Output (push) Has been cancelled
Signals CI & Image / signals-ci (push) Has been cancelled
Signals Reachability Scoring & Events / reachability-smoke (push) Has been cancelled
Signals Reachability Scoring & Events / sign-and-upload (push) Has been cancelled
40 lines
1.1 KiB
C#
40 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace StellaOps.Cli.Plugins;
|
|
|
|
public sealed record CliPluginManifest
|
|
{
|
|
public const string CurrentSchemaVersion = "1.0";
|
|
|
|
public string SchemaVersion { get; init; } = CurrentSchemaVersion;
|
|
|
|
public string Id { get; init; } = string.Empty;
|
|
|
|
public string DisplayName { get; init; } = string.Empty;
|
|
|
|
public string Version { get; init; } = "0.0.0";
|
|
|
|
public bool RequiresRestart { get; init; } = true;
|
|
|
|
public CliPluginEntryPoint? EntryPoint { get; init; }
|
|
|
|
public IReadOnlyList<string> Capabilities { get; init; } = Array.Empty<string>();
|
|
|
|
public IReadOnlyDictionary<string, string> Metadata { get; init; } =
|
|
new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
|
|
|
public string? SourcePath { get; init; }
|
|
|
|
public string? SourceDirectory { get; init; }
|
|
}
|
|
|
|
public sealed record CliPluginEntryPoint
|
|
{
|
|
public string Type { get; init; } = "dotnet";
|
|
|
|
public string Assembly { get; init; } = string.Empty;
|
|
|
|
public string TypeName { get; init; } = string.Empty;
|
|
}
|