< Summary

Information
Class: Orchestrator.Commands.Operations.CollectContext.CollectContextKicktippSettings
Assembly: Orchestrator
File(s): /home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Operations/CollectContext/CollectContextSettings.cs
Line coverage
100%
Covered lines: 4
Uncovered lines: 0
Coverable lines: 4
Total lines: 33
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
get_DryRun()100%11100%
set_DryRun(...)100%11100%
get_MatchOutcomesOnly()100%11100%
set_MatchOutcomesOnly(...)100%11100%
get_CommunityContext()100%11100%
set_CommunityContext(...)100%11100%
.ctor()100%11100%
get_Verbose()100%11100%
set_Verbose(...)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")]
 120    public bool DryRun { get; set; }
 21
 22    [CommandOption("--match-outcomes-only")]
 23    [Description("Collect and persist match outcomes without updating other context documents")]
 124    public bool MatchOutcomesOnly { get; set; }
 25
 26    [CommandOption("--community-context")]
 27    [Description("The community context (rules/scoring) to use")]
 128    public string CommunityContext { get; set; } = string.Empty;
 29
 30    [CommandOption("--verbose")]
 31    [Description("Enable verbose output")]
 132    public bool Verbose { get; set; }
 33}