5dplomacy/MultiversalDiplomacy/ReplOptions.cs

13 lines
466 B
C#
Raw Normal View History

using CommandLine;
namespace MultiversalDiplomacy;
[Verb("repl", HelpText = "Begin an interactive 5dplomacy session.")]
public class ReplOptions
{
[Option('i', "input", HelpText = "Begin the repl session by executing the commands in this file")]
public string? InputFile { get; set; }
[Option('o', "output", HelpText = "Echo the repl session to this file. Specify a directory to autogenerate a filename")]
public string? OutputFile { get; set; }
}