~ruther/Nostale-Anonymizer

ref: deb634c61debbcc8537401a43b1955a31c5ae8ea Nostale-Anonymizer/src/Anonymizer.CLI/Options.cs -rw-r--r-- 776 bytes
deb634c6 — František Boháček feat: process files from cli 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//
//  Options.cs
//
//  Copyright (c) František Boháček. All rights reserved.
//  Licensed under the MIT license. See LICENSE file in the project root for full license information.

using CommandLine;

namespace Anonymizer.CLI;

/// <summary>
/// CLI Options.
/// </summary>
public class Options
{
    /// <summary>
    /// Gets or sets the input path.
    /// </summary>
    [Option('i', "input")]
    public string Input { get; set; } = "input.log";

    /// <summary>
    /// Gets or sets the output path.
    /// </summary>
    [Option('o', "output")]
    public string Output { get; set; } = "output.log";

    /// <summary>
    /// Gets or sets the config path.
    /// </summary>
    [Option('c', "config")]
    public string Config { get; set; } = "config.json";
}
Do not follow this link