< 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: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 28
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_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    [CommandOption("--dry-run")]
 12    [Description("Show what would be saved without actually saving to database")]
 13    public bool DryRun { get; set; }
 14}
 15
 16/// <summary>
 17/// Settings for the collect-context kicktipp subcommand.
 18/// </summary>
 19public class CollectContextKicktippSettings : CollectContextSettings
 20{
 21    [CommandOption("--community-context")]
 22    [Description("The community context (rules/scoring) to use")]
 123    public string CommunityContext { get; set; } = string.Empty;
 24
 25    [CommandOption("--verbose")]
 26    [Description("Enable verbose output")]
 127    public bool Verbose { get; set; }
 28}