| | | 1 | | using System.ComponentModel; |
| | | 2 | | using Spectre.Console.Cli; |
| | | 3 | | |
| | | 4 | | namespace Orchestrator.Commands.Operations.CollectContext; |
| | | 5 | | |
| | | 6 | | /// <summary> |
| | | 7 | | /// Base settings for the collect-context command. |
| | | 8 | | /// </summary> |
| | | 9 | | public class CollectContextSettings : CommandSettings |
| | | 10 | | { |
| | | 11 | | } |
| | | 12 | | |
| | | 13 | | /// <summary> |
| | | 14 | | /// Settings for the collect-context kicktipp subcommand. |
| | | 15 | | /// </summary> |
| | | 16 | | public class CollectContextKicktippSettings : CollectContextSettings |
| | | 17 | | { |
| | | 18 | | [CommandOption("--dry-run")] |
| | | 19 | | [Description("Show what would be saved without actually saving to database")] |
| | 1 | 20 | | public bool DryRun { get; set; } |
| | | 21 | | |
| | | 22 | | [CommandOption("--match-outcomes-only")] |
| | | 23 | | [Description("Collect and persist match outcomes without updating other context documents")] |
| | 1 | 24 | | public bool MatchOutcomesOnly { get; set; } |
| | | 25 | | |
| | | 26 | | [CommandOption("--community-context")] |
| | | 27 | | [Description("The community context (rules/scoring) to use")] |
| | 1 | 28 | | public string CommunityContext { get; set; } = string.Empty; |
| | | 29 | | |
| | | 30 | | [CommandOption("--verbose")] |
| | | 31 | | [Description("Enable verbose output")] |
| | 1 | 32 | | public bool Verbose { get; set; } |
| | | 33 | | } |