| | | 1 | | using Microsoft.Extensions.DependencyInjection; |
| | | 2 | | using Spectre.Console; |
| | | 3 | | using Spectre.Console.Cli; |
| | | 4 | | using Orchestrator.Commands.Operations.Dev; |
| | | 5 | | using Orchestrator.Commands.Operations.Matchday; |
| | | 6 | | using Orchestrator.Commands.Operations.RandomMatch; |
| | | 7 | | using Orchestrator.Commands.Operations.Bonus; |
| | | 8 | | using Orchestrator.Commands.Operations.CollectContext; |
| | | 9 | | using Orchestrator.Commands.Operations.Wm26RecentHistory; |
| | | 10 | | using Orchestrator.Commands.Operations.Verify; |
| | | 11 | | using Orchestrator.Commands.Observability.AnalyzeMatch; |
| | | 12 | | using Orchestrator.Commands.Observability.ContextChanges; |
| | | 13 | | using Orchestrator.Commands.Observability.Cost; |
| | | 14 | | using Orchestrator.Commands.Observability.Experiments; |
| | | 15 | | using Orchestrator.Commands.Observability.ExportExperimentAnalysis; |
| | | 16 | | using Orchestrator.Commands.Observability.ExportExperimentItem; |
| | | 17 | | using Orchestrator.Commands.Observability.PrepareCommunityToDate; |
| | | 18 | | using Orchestrator.Commands.Observability.PrepareRepeatedMatch; |
| | | 19 | | using Orchestrator.Commands.Observability.PrepareRepeatedMatchSlice; |
| | | 20 | | using Orchestrator.Commands.Observability.PrepareSlice; |
| | | 21 | | using Orchestrator.Commands.Observability.ReconstructPrompt; |
| | | 22 | | using Orchestrator.Commands.Observability.SyncDataset; |
| | | 23 | | using Orchestrator.Commands.Utility.UploadKpi; |
| | | 24 | | using Orchestrator.Commands.Utility.UploadContext; |
| | | 25 | | using Orchestrator.Commands.Utility.UploadTransfers; |
| | | 26 | | using Orchestrator.Commands.Utility.CopyFirestoreContext; |
| | | 27 | | using Orchestrator.Commands.Utility.ListKpi; |
| | | 28 | | using Orchestrator.Commands.Utility.Snapshots; |
| | | 29 | | using Orchestrator.Infrastructure; |
| | | 30 | | |
| | | 31 | | namespace Orchestrator; |
| | | 32 | | |
| | | 33 | | public class Program |
| | | 34 | | { |
| | | 35 | | public static async Task<int> Main(string[] args) |
| | | 36 | | { |
| | 1 | 37 | | var minimumLogLevel = LoggingConfiguration.GetMinimumLevelForCommandLine(args); |
| | | 38 | | |
| | | 39 | | // Load environment variables once at startup |
| | 1 | 40 | | var startupLogger = LoggingConfiguration.CreateLogger<Program>(minimumLogLevel); |
| | 1 | 41 | | EnvironmentHelper.LoadEnvironmentVariables(startupLogger); |
| | | 42 | | |
| | | 43 | | // Dependency Injection setup follows Spectre.Console.Cli patterns: |
| | | 44 | | // - Tutorial: https://github.com/spectreconsole/website/blob/main/Spectre.Docs/Content/cli/tutorials/dependency |
| | | 45 | | // - Testing: https://github.com/spectreconsole/website/blob/main/Spectre.Docs/Content/cli/how-to/testing-comman |
| | 1 | 46 | | var services = new ServiceCollection(); |
| | | 47 | | |
| | | 48 | | // Register IAnsiConsole for dependency injection into commands |
| | 1 | 49 | | services.AddSingleton<IAnsiConsole>(AnsiConsole.Console); |
| | | 50 | | |
| | | 51 | | // Register all command services (factories and shared infrastructure) |
| | 1 | 52 | | services.AddAllCommandServices(minimumLogLevel); |
| | | 53 | | |
| | 1 | 54 | | var registrar = new TypeRegistrar(services); |
| | 1 | 55 | | var app = new CommandApp(registrar); |
| | | 56 | | |
| | 1 | 57 | | app.Configure(config => |
| | 1 | 58 | | { |
| | 1 | 59 | | config.SetApplicationName("Orchestrator"); |
| | 1 | 60 | | config.SetApplicationVersion("1.0.0"); |
| | 1 | 61 | | |
| | 1 | 62 | | config.AddCommand<MatchdayCommand>("matchday") |
| | 1 | 63 | | .WithDescription("Generate predictions for the current matchday") |
| | 1 | 64 | | .WithExample("matchday", "gpt-4o-2024-08-06", "--community", "ehonda-test-buli"); |
| | 1 | 65 | | |
| | 1 | 66 | | config.AddCommand<MatchdayDevCommand>("matchday-dev") |
| | 1 | 67 | | .WithDescription("Generate and post matchday predictions using guarded development-community defaults") |
| | 1 | 68 | | .WithExample("matchday-dev", "--community", "ehonda-dev-wm26"); |
| | 1 | 69 | | |
| | 1 | 70 | | config.AddCommand<CollectContextDevCommand>("collect-context-dev") |
| | 1 | 71 | | .WithDescription("Collect Kicktipp, FIFA ranking, and lineup context using guarded development-community |
| | 1 | 72 | | .WithExample("collect-context-dev", "--community", "ehonda-dev-wm26", "--verbose"); |
| | 1 | 73 | | |
| | 1 | 74 | | config.AddCommand<RandomMatchCommand>("random-match") |
| | 1 | 75 | | .WithDescription("Generate a prediction for a random match from the current matchday (useful for testing |
| | 1 | 76 | | .WithExample("random-match", "gpt-5-nano", "--community", "ehonda-test-buli"); |
| | 1 | 77 | | |
| | 1 | 78 | | config.AddBranch("analyze-match", analyzeMatch => |
| | 1 | 79 | | { |
| | 1 | 80 | | analyzeMatch.SetDescription("Analyze prediction distributions for a single match without persisting resu |
| | 1 | 81 | | |
| | 1 | 82 | | analyzeMatch.AddCommand<AnalyzeMatchDetailedCommand>("detailed") |
| | 1 | 83 | | .WithDescription("Detailed analysis with justification output and live estimates") |
| | 1 | 84 | | .WithExample( |
| | 1 | 85 | | "analyze-match", |
| | 1 | 86 | | "detailed", |
| | 1 | 87 | | "gpt-5-nano", |
| | 1 | 88 | | "--community-context", |
| | 1 | 89 | | "ehonda-test-buli", |
| | 1 | 90 | | "--home", |
| | 1 | 91 | | "FC Bayern München", |
| | 1 | 92 | | "--away", |
| | 1 | 93 | | "RB Leipzig", |
| | 1 | 94 | | "--matchday", |
| | 1 | 95 | | "1", |
| | 1 | 96 | | "--runs", |
| | 1 | 97 | | "5"); |
| | 1 | 98 | | |
| | 1 | 99 | | analyzeMatch.AddCommand<AnalyzeMatchComparisonCommand>("comparison") |
| | 1 | 100 | | .WithDescription("Compare predictions generated with and without justification") |
| | 1 | 101 | | .WithExample( |
| | 1 | 102 | | "analyze-match", |
| | 1 | 103 | | "comparison", |
| | 1 | 104 | | "gpt-5-nano", |
| | 1 | 105 | | "--community-context", |
| | 1 | 106 | | "ehonda-test-buli", |
| | 1 | 107 | | "--home", |
| | 1 | 108 | | "FC Bayern München", |
| | 1 | 109 | | "--away", |
| | 1 | 110 | | "RB Leipzig", |
| | 1 | 111 | | "--matchday", |
| | 1 | 112 | | "1", |
| | 1 | 113 | | "--runs", |
| | 1 | 114 | | "5"); |
| | 1 | 115 | | }); |
| | 1 | 116 | | |
| | 1 | 117 | | config.AddCommand<BonusCommand>("bonus") |
| | 1 | 118 | | .WithDescription("Generate bonus predictions") |
| | 1 | 119 | | .WithExample("bonus", "gpt-4o-2024-08-06", "--community", "ehonda-test-buli"); |
| | 1 | 120 | | |
| | 1 | 121 | | config.AddCommand<BonusDevCommand>("bonus-dev") |
| | 1 | 122 | | .WithDescription("Generate and post bonus predictions using guarded development-community defaults") |
| | 1 | 123 | | .WithExample("bonus-dev", "--community", "ehonda-dev-wm26"); |
| | 1 | 124 | | |
| | 1 | 125 | | config.AddBranch<CollectContextSettings>("collect-context", collectContext => |
| | 1 | 126 | | { |
| | 1 | 127 | | collectContext.SetDescription("Collect context documents and store them in database"); |
| | 1 | 128 | | collectContext.AddCommand<CollectContextKicktippCommand>("kicktipp") |
| | 1 | 129 | | .WithDescription("Collect context from Kicktipp") |
| | 1 | 130 | | .WithExample("collect-context", "kicktipp", "--community-context", "ehonda-test-buli", "--dry-run"); |
| | 1 | 131 | | collectContext.AddCommand<CollectContextFifaCommand>("fifa") |
| | 1 | 132 | | .WithDescription("Fetch and upload WM26 FIFA ranking context and KPI documents") |
| | 1 | 133 | | .WithExample("collect-context", "fifa", "--community-context", "ehonda-dev-wm26", "--dry-run"); |
| | 1 | 134 | | collectContext.AddCommand<CollectContextLineupsCommand>("lineups") |
| | 1 | 135 | | .WithDescription("Refresh and upload WM26 lineup context and KPI documents") |
| | 1 | 136 | | .WithExample("collect-context", "lineups", "--community-context", "ehonda-dev-wm26", "--dry-run"); |
| | 1 | 137 | | }); |
| | 1 | 138 | | |
| | 1 | 139 | | config.AddBranch<Wm26RecentHistorySettings>("wm26-recent-history", wm26RecentHistory => |
| | 1 | 140 | | { |
| | 1 | 141 | | wm26RecentHistory.SetDescription("Export and apply exact played dates for WM26 recent-history context do |
| | 1 | 142 | | wm26RecentHistory.AddCommand<Wm26RecentHistoryExportDateMapCommand>("export-date-map") |
| | 1 | 143 | | .WithDescription("Export recent-history rows to the canonical WM26 played-date map") |
| | 1 | 144 | | .WithExample( |
| | 1 | 145 | | "wm26-recent-history", |
| | 1 | 146 | | "export-date-map", |
| | 1 | 147 | | "--community-context", |
| | 1 | 148 | | "ehonda-dev-wm26", |
| | 1 | 149 | | "--competition", |
| | 1 | 150 | | "fifa-world-cup-2026", |
| | 1 | 151 | | "--output", |
| | 1 | 152 | | "data/wm26/recent-history/recent-history-match-dates.csv"); |
| | 1 | 153 | | wm26RecentHistory.AddCommand<Wm26RecentHistoryApplyDateMapCommand>("apply-date-map") |
| | 1 | 154 | | .WithDescription("Apply the canonical WM26 played-date map to recent-history documents") |
| | 1 | 155 | | .WithExample( |
| | 1 | 156 | | "wm26-recent-history", |
| | 1 | 157 | | "apply-date-map", |
| | 1 | 158 | | "--community-context", |
| | 1 | 159 | | "ehonda-dev-wm26", |
| | 1 | 160 | | "--competition", |
| | 1 | 161 | | "fifa-world-cup-2026", |
| | 1 | 162 | | "--input", |
| | 1 | 163 | | "data/wm26/recent-history/recent-history-match-dates.csv", |
| | 1 | 164 | | "--dry-run"); |
| | 1 | 165 | | wm26RecentHistory.AddCommand<Wm26RecentHistoryProbePredictionLookupCommand>("probe-prediction-lookup") |
| | 1 | 166 | | .WithDescription("Probe the DB-side latest predicted-match lookup used for WM26 tournament Played_At |
| | 1 | 167 | | .WithExample( |
| | 1 | 168 | | "wm26-recent-history", |
| | 1 | 169 | | "probe-prediction-lookup", |
| | 1 | 170 | | "--community-context", |
| | 1 | 171 | | "ehonda-dev-wm26", |
| | 1 | 172 | | "--competition", |
| | 1 | 173 | | "fifa-world-cup-2026", |
| | 1 | 174 | | "--home-team", |
| | 1 | 175 | | "Mexiko", |
| | 1 | 176 | | "--away-team", |
| | 1 | 177 | | "Südafrika", |
| | 1 | 178 | | "--verbose"); |
| | 1 | 179 | | }); |
| | 1 | 180 | | |
| | 1 | 181 | | config.AddCommand<VerifyMatchdayCommand>("verify") |
| | 1 | 182 | | .WithDescription("Verify that database predictions have been successfully posted to Kicktipp") |
| | 1 | 183 | | .WithExample("verify", "gpt-4o-2024-08-06", "--community", "ehonda-test-buli"); |
| | 1 | 184 | | |
| | 1 | 185 | | config.AddCommand<VerifyBonusCommand>("verify-bonus") |
| | 1 | 186 | | .WithDescription("Verify that database bonus predictions are valid and complete") |
| | 1 | 187 | | .WithExample("verify-bonus", "gpt-4o-2024-08-06", "--community", "ehonda-test-buli"); |
| | 1 | 188 | | |
| | 1 | 189 | | config.AddCommand<UploadKpiCommand>("upload-kpi") |
| | 1 | 190 | | .WithDescription("Upload a KPI context document to Firebase") |
| | 1 | 191 | | .WithExample("upload-kpi", "team-data", "--community", "ehonda-test-buli"); |
| | 1 | 192 | | |
| | 1 | 193 | | config.AddCommand<UploadContextCommand>("upload-context") |
| | 1 | 194 | | .WithDescription("Upload a generic context document JSON to Firebase") |
| | 1 | 195 | | .WithExample("upload-context", "--input", "lineup-exampleland.csv.json", "--competition", "fifa-world-cu |
| | 1 | 196 | | |
| | 1 | 197 | | config.AddCommand<CopyFirestoreContextCommand>("copy-firestore-context") |
| | 1 | 198 | | .WithDescription("Copy Firestore context and KPI documents between community contexts") |
| | 1 | 199 | | .WithExample( |
| | 1 | 200 | | "copy-firestore-context", |
| | 1 | 201 | | "--source-community-context", |
| | 1 | 202 | | "ehonda-dev-wm26", |
| | 1 | 203 | | "--target-community-context", |
| | 1 | 204 | | "new-wm26-community", |
| | 1 | 205 | | "--competition", |
| | 1 | 206 | | "fifa-world-cup-2026", |
| | 1 | 207 | | "--context-prefix", |
| | 1 | 208 | | "lineup-", |
| | 1 | 209 | | "--kpi-document", |
| | 1 | 210 | | "lineups"); |
| | 1 | 211 | | |
| | 1 | 212 | | config.AddCommand<UploadTransfersCommand>("upload-transfers") |
| | 1 | 213 | | .WithDescription("Upload a transfers context document to Firebase (team transfers CSV)") |
| | 1 | 214 | | .WithExample("upload-transfers", "fcb", "--community-context", "ehonda-test-buli"); |
| | 1 | 215 | | |
| | 1 | 216 | | config.AddCommand<ListKpiCommand>("list-kpi") |
| | 1 | 217 | | .WithDescription("List KPI context documents from Firebase") |
| | 1 | 218 | | .WithExample("list-kpi", "--community", "ehonda-test-buli"); |
| | 1 | 219 | | |
| | 1 | 220 | | config.AddCommand<ContextChangesCommand>("context-changes") |
| | 1 | 221 | | .WithDescription("Show changes between latest and previous versions of context documents") |
| | 1 | 222 | | .WithExample("context-changes", "--community-context", "ehonda-test-buli", "--count", "5") |
| | 1 | 223 | | .WithExample("context-changes", "--community-context", "ehonda-test-buli", "--seed", "42"); |
| | 1 | 224 | | |
| | 1 | 225 | | config.AddCommand<ReconstructPromptCommand>("reconstruct-prompt") |
| | 1 | 226 | | .WithDescription("Reconstruct the historical prompt inputs for a stored match prediction") |
| | 1 | 227 | | .WithExample("reconstruct-prompt", "o4-mini", "--community-context", "pes-squad", "--home", "VfB Stuttga |
| | 1 | 228 | | .WithExample("reconstruct-prompt", "o4-mini", "--community-context", "pes-squad", "--home", "VfB Stuttga |
| | 1 | 229 | | .WithExample("reconstruct-prompt", "o4-mini", "--community-context", "pes-squad", "--home", "VfB Stuttga |
| | 1 | 230 | | |
| | 1 | 231 | | config.AddCommand<ExportExperimentItemCommand>("export-experiment-item") |
| | 1 | 232 | | .WithDescription("Export a single historical match experiment item for runner testing") |
| | 1 | 233 | | .WithExample("export-experiment-item", "o4-mini", "--community-context", "pes-squad", "--home", "VfB Stu |
| | 1 | 234 | | .WithExample("export-experiment-item", "o4-mini", "--community-context", "pes-squad", "--home", "VfB Stu |
| | 1 | 235 | | .WithExample("export-experiment-item", "o4-mini", "--community-context", "pes-squad", "--home", "VfB Stu |
| | 1 | 236 | | |
| | 1 | 237 | | config.AddCommand<ExportExperimentAnalysisCommand>("export-experiment-analysis") |
| | 1 | 238 | | .WithDescription("Export a normalized analysis bundle for comparable Langfuse experiment runs") |
| | 1 | 239 | | .WithExample( |
| | 1 | 240 | | "export-experiment-analysis", |
| | 1 | 241 | | "--dataset-name", |
| | 1 | 242 | | "match-predictions/bundesliga-2025-26/pes-squad/slices/all-matchdays/random-16-seed-20260403", |
| | 1 | 243 | | "--run-names", |
| | 1 | 244 | | "slice__pes-squad__o3__prompt-v1__random-16-seed-20260403__startsat-12h__2026-04-03t12-00-00z,slice_ |
| | 1 | 245 | | .WithExample( |
| | 1 | 246 | | "export-experiment-analysis", |
| | 1 | 247 | | "--dataset-name", |
| | 1 | 248 | | "match-predictions/bundesliga-2025-26/pes-squad/repeated-match/md26-vfb-stuttgart-vs-rb-leipzig/repe |
| | 1 | 249 | | "--run-names", |
| | 1 | 250 | | "repeated-match__pes-squad__o3__prompt-v1__repeat-16__exact-time__2026-03-15t12-00-00z,repeated-matc |
| | 1 | 251 | | "--output", |
| | 1 | 252 | | "artifacts/langfuse-experiments/analysis/repeated-match/pes-squad-repeat-16.json"); |
| | 1 | 253 | | |
| | 1 | 254 | | config.AddCommand<PublishExperimentAnalysisCommand>("publish-experiment-analysis") |
| | 1 | 255 | | .WithDescription("Publish an existing analysis bundle as Langfuse Experiments Beta-visible run aliases") |
| | 1 | 256 | | .WithExample( |
| | 1 | 257 | | "publish-experiment-analysis", |
| | 1 | 258 | | "--input", |
| | 1 | 259 | | "artifacts/langfuse-experiments/analysis/task-5/match-predictions/bundesliga-2025-26/pes-squad/slice |
| | 1 | 260 | | "--replace-runs"); |
| | 1 | 261 | | |
| | 1 | 262 | | config.AddCommand<PrepareSliceCommand>("prepare-slice") |
| | 1 | 263 | | .WithDescription("Create a reusable sampled slice artifact and manifest directly from completed historic |
| | 1 | 264 | | .WithExample("prepare-slice", "--community-context", "pes-squad", "--sample-size", "16", "--sample-seed" |
| | 1 | 265 | | .WithExample("prepare-slice", "--community-context", "pes-squad", "--matchdays", "26", "--sample-size", |
| | 1 | 266 | | .WithExample("prepare-slice", "--community-context", "pes-squad", "--sample-size", "10", "--starts-after |
| | 1 | 267 | | |
| | 1 | 268 | | config.AddCommand<PrepareRepeatedMatchCommand>("prepare-repeated-match") |
| | 1 | 269 | | .WithDescription("Create a repeated-match dataset and manifest for a single historical fixture") |
| | 1 | 270 | | .WithExample("prepare-repeated-match", "--community-context", "pes-squad", "--home", "VfB Stuttgart", "- |
| | 1 | 271 | | .WithExample("prepare-repeated-match", "--community-context", "pes-squad", "--home", "VfB Stuttgart", "- |
| | 1 | 272 | | |
| | 1 | 273 | | config.AddCommand<PrepareRepeatedMatchSliceCommand>("prepare-repeated-match-slice") |
| | 1 | 274 | | .WithDescription("Create a repeated-match slice dataset and manifest from random historical fixtures") |
| | 1 | 275 | | .WithExample("prepare-repeated-match-slice", "--community-context", "pes-squad", "--match-count", "15", |
| | 1 | 276 | | .WithExample("prepare-repeated-match-slice", "--community-context", "pes-squad", "--matchdays", "1,2,3", |
| | 1 | 277 | | |
| | 1 | 278 | | config.AddCommand<PrepareCommunityToDateCommand>("prepare-community-to-date") |
| | 1 | 279 | | .WithDescription("Create a Kicktipp community-to-date dataset and manifest from finished tippuebersicht |
| | 1 | 280 | | .WithExample("prepare-community-to-date", "--community-context", "ehonda-ai-arena", "--cutoff-matchday", |
| | 1 | 281 | | .WithExample("prepare-community-to-date", "--community-context", "ehonda-ai-arena", "--output-directory" |
| | 1 | 282 | | |
| | 1 | 283 | | config.AddCommand<SyncDatasetCommand>("sync-dataset") |
| | 1 | 284 | | .WithDescription("Sync an exported hosted experiment dataset artifact to Langfuse via the public API") |
| | 1 | 285 | | .WithExample("sync-dataset", "--input", "artifacts/langfuse-experiments/slices/pes-squad/all-matchdays/r |
| | 1 | 286 | | |
| | 1 | 287 | | config.AddCommand<RunSliceCommand>("run-slice") |
| | 1 | 288 | | .WithDescription("Run a prepared slice dataset directly via IPredictionService and the Langfuse public A |
| | 1 | 289 | | .WithExample("run-slice", "gpt-5-nano", "--manifest", "artifacts/langfuse-experiments/slices/pes-squad/a |
| | 1 | 290 | | .WithExample("run-slice", "o3", "--manifest", "artifacts/langfuse-experiments/slices/pes-squad/matchdays |
| | 1 | 291 | | |
| | 1 | 292 | | config.AddCommand<RunRepeatedMatchCommand>("run-repeated-match") |
| | 1 | 293 | | .WithDescription("Run a prepared repeated-match dataset with warmup-plus-batches execution") |
| | 1 | 294 | | .WithExample("run-repeated-match", "o3", "--manifest", "artifacts/langfuse-experiments/repeated-match/pe |
| | 1 | 295 | | |
| | 1 | 296 | | config.AddCommand<RunRepeatedMatchSliceCommand>("run-repeated-match-slice") |
| | 1 | 297 | | .WithDescription("Run a prepared repeated-match slice dataset with per-fixture warmup-plus-batches execu |
| | 1 | 298 | | .WithExample("run-repeated-match-slice", "gpt-5.4-nano", "--manifest", "artifacts/langfuse-experiments/r |
| | 1 | 299 | | |
| | 1 | 300 | | config.AddCommand<RunCommunityToDateCommand>("run-community-to-date") |
| | 1 | 301 | | .WithDescription("Run a prepared community-to-date dataset as one Langfuse dataset run per participant") |
| | 1 | 302 | | .WithExample("run-community-to-date", "--manifest", "artifacts/langfuse-experiments/community-to-date/eh |
| | 1 | 303 | | .WithExample("run-community-to-date", "--manifest", "artifacts/langfuse-experiments/community-to-date/eh |
| | 1 | 304 | | |
| | 1 | 305 | | config.AddCommand<CostCommand>("cost") |
| | 1 | 306 | | .WithDescription("Calculate aggregate costs for predictions") |
| | 1 | 307 | | .WithExample("cost", "--all") |
| | 1 | 308 | | .WithExample("cost", "--matchdays", "1,2,3") |
| | 1 | 309 | | .WithExample("cost", "--models", "gpt-4o,o1-mini", "--bonus"); |
| | 1 | 310 | | |
| | 1 | 311 | | config.AddBranch("snapshots", snapshots => |
| | 1 | 312 | | { |
| | 1 | 313 | | snapshots.SetDescription("Generate and encrypt HTML snapshots from Kicktipp for test fixtures"); |
| | 1 | 314 | | |
| | 1 | 315 | | snapshots.AddCommand<SnapshotsFetchCommand>("fetch") |
| | 1 | 316 | | .WithDescription("Fetch HTML snapshots from Kicktipp") |
| | 1 | 317 | | .WithExample("snapshots", "fetch", "--community", "ehonda-test-buli") |
| | 1 | 318 | | .WithExample("snapshots", "fetch", "--community", "ehonda-test-buli", "--output", "my-snapshots"); |
| | 1 | 319 | | |
| | 1 | 320 | | snapshots.AddCommand<SnapshotsEncryptCommand>("encrypt") |
| | 1 | 321 | | .WithDescription("Encrypt HTML snapshots for safe committing") |
| | 1 | 322 | | .WithExample("snapshots", "encrypt") |
| | 1 | 323 | | .WithExample("snapshots", "encrypt", "--input", "my-snapshots", "--output", "tests/KicktippIntegrati |
| | 1 | 324 | | |
| | 1 | 325 | | snapshots.AddCommand<SnapshotsAllCommand>("all") |
| | 1 | 326 | | .WithDescription("Fetch and encrypt snapshots in one step") |
| | 1 | 327 | | .WithExample("snapshots", "all", "--community", "ehonda-test-buli") |
| | 1 | 328 | | .WithExample("snapshots", "all", "--community", "ehonda-test-buli", "--keep-originals"); |
| | 1 | 329 | | }); |
| | 1 | 330 | | }); |
| | | 331 | | |
| | 1 | 332 | | return await app.RunAsync(args); |
| | 1 | 333 | | } |
| | | 334 | | } |