< Summary

Information
Class: Orchestrator.Commands.Utility.UploadKpi.UploadKpiSettings
Assembly: Orchestrator
File(s): /home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Utility/UploadKpi/UploadKpiSettings.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 20
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_DocumentName()100%11100%
set_DocumentName(...)100%11100%
.ctor()100%11100%
get_CommunityContext()100%11100%
set_CommunityContext(...)100%11100%
get_Verbose()100%11100%
set_Verbose(...)100%11100%

File(s)

/home/runner/work/KicktippAi/KicktippAi/src/Orchestrator/Commands/Utility/UploadKpi/UploadKpiSettings.cs

#LineLine coverage
 1using System.ComponentModel;
 2using Spectre.Console.Cli;
 3
 4namespace Orchestrator.Commands.Utility.UploadKpi;
 5
 6public class UploadKpiSettings : CommandSettings
 7{
 8    [CommandArgument(0, "<DOCUMENT_NAME>")]
 9    [Description("The name of the KPI document to upload (without file extension)")]
 110    public string DocumentName { get; set; } = string.Empty;
 11
 12    [CommandOption("-c|--community-context")]
 13    [Description("The community context to use (e.g., ehonda-test-buli)")]
 114    public required string CommunityContext { get; set; }
 15
 16    [CommandOption("-v|--verbose")]
 17    [Description("Enable verbose output to show detailed information")]
 18    [DefaultValue(false)]
 119    public bool Verbose { get; set; }
 20}