summaryrefslogtreecommitdiff
path: root/Compiler/Options.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Compiler/Options.cs')
-rw-r--r--Compiler/Options.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/Compiler/Options.cs b/Compiler/Options.cs
new file mode 100644
index 0000000..c12a4c6
--- /dev/null
+++ b/Compiler/Options.cs
@@ -0,0 +1,12 @@
+namespace Q1.Compiler;
+
+using CommandLine;
+
+public class Options
+{
+ [Option('i', "input", Required = true, HelpText = "Input file to compile.")]
+ public string InputFile { get; set; }
+
+ [Option('o', "output", Required = true, HelpText = "Output file to write the compiled code.")]
+ public string OutputFile { get; set; }
+} \ No newline at end of file