< Summary

Information
Class: Orchestrator.Commands.Operations.CollectContext.CollectContextFifaSettings
Assembly: Orchestrator
File(s): /home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Operations/CollectContext/CollectContextSettings.cs
Line coverage
100%
Covered lines: 1
Uncovered lines: 0
Coverable lines: 1
Total lines: 97
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%11100%

File(s)

/home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Operations/CollectContext/CollectContextSettings.cs

#LineLine coverage
 1using System.ComponentModel;
 2using Spectre.Console.Cli;
 3
 4namespace Orchestrator.Commands.Operations.CollectContext;
 5
 6/// <summary>
 7/// Base settings for the collect-context command.
 8/// </summary>
 9public class CollectContextSettings : CommandSettings
 10{
 11}
 12
 13/// <summary>
 14/// Settings for the collect-context kicktipp subcommand.
 15/// </summary>
 16public class CollectContextKicktippSettings : CollectContextSettings
 17{
 18    [CommandOption("--dry-run")]
 19    [Description("Show what would be saved without actually saving to database")]
 20    public bool DryRun { get; set; }
 21
 22    [CommandOption("--match-outcomes-only")]
 23    [Description("Collect and persist match outcomes without updating other context documents")]
 24    public bool MatchOutcomesOnly { get; set; }
 25
 26    [CommandOption("--community-context")]
 27    [Description("The community context (rules/scoring) to use")]
 28    public string CommunityContext { get; set; } = string.Empty;
 29
 30    [CommandOption("--competition")]
 31    [Description("Competition identifier (defaults from community context, e.g., fifa-world-cup-2026 for ehonda-dev-wm26
 32    public string? Competition { get; set; }
 33
 34    [CommandOption("--matchdays")]
 35    [Description("Comma-separated Kicktipp matchday indexes to collect instead of only the current matchday")]
 36    public string? Matchdays { get; set; }
 37
 38    [CommandOption("--verbose")]
 39    [Description("Enable verbose output")]
 40    public bool Verbose { get; set; }
 41}
 42
 43/// <summary>
 44/// Settings for the collect-context fifa subcommand.
 45/// </summary>
 46public class CollectContextFifaSettings : CollectContextSettings
 47{
 48    [CommandOption("--community-context")]
 49    [Description("The community context to upload FIFA ranking context for")]
 150    public string CommunityContext { get; set; } = string.Empty;
 51
 52    [CommandOption("--competition")]
 53    [Description("Competition identifier (defaults from community context, e.g., fifa-world-cup-2026 for ehonda-dev-wm26
 54    public string? Competition { get; set; }
 55
 56    [CommandOption("--dry-run")]
 57    [Description("Show what would be saved without actually saving to database")]
 58    public bool DryRun { get; set; }
 59
 60    [CommandOption("--verbose")]
 61    [Description("Enable verbose output")]
 62    public bool Verbose { get; set; }
 63}
 64
 65/// <summary>
 66/// Settings for the collect-context lineups subcommand.
 67/// </summary>
 68public class CollectContextLineupsSettings : CollectContextSettings
 69{
 70    [CommandOption("--community-context")]
 71    [Description("The community context to upload WM26 lineup context for")]
 72    public string CommunityContext { get; set; } = string.Empty;
 73
 74    [CommandOption("--competition")]
 75    [Description("Competition identifier (defaults from community context, e.g., fifa-world-cup-2026 for ehonda-dev-wm26
 76    public string? Competition { get; set; }
 77
 78    [CommandOption("--seed")]
 79    [Description("Lineup seed CSV path")]
 80    public string Seed { get; set; } = "data/wm26/lineups/lineups-seed.csv";
 81
 82    [CommandOption("--teams")]
 83    [Description("WM26 team manifest CSV path")]
 84    public string Teams { get; set; } = "data/wm26/lineups/wm26-teams.csv";
 85
 86    [CommandOption("--duckdb-path")]
 87    [Description("Existing local transfermarkt-datasets DuckDB path; if omitted, the command refreshes the ignored cache
 88    public string? DuckDbPath { get; set; }
 89
 90    [CommandOption("--dry-run")]
 91    [Description("Show what would be saved without actually saving to database")]
 92    public bool DryRun { get; set; }
 93
 94    [CommandOption("--verbose")]
 95    [Description("Enable verbose output")]
 96    public bool Verbose { get; set; }
 97}

Methods/Properties

.ctor()