< 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
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 20
Line coverage: 0%
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%210%
set_DocumentName(...)100%210%
.ctor()100%210%
get_CommunityContext()100%210%
set_CommunityContext(...)100%210%
get_Verbose()100%210%
set_Verbose(...)100%210%

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)")]
 010    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)")]
 014    public required string CommunityContext { get; set; }
 15
 16    [CommandOption("-v|--verbose")]
 17    [Description("Enable verbose output to show detailed information")]
 18    [DefaultValue(false)]
 019    public bool Verbose { get; set; }
 20}