aboutsummaryrefslogtreecommitdiff
path: root/dotnet/Mammoth.Cli/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'dotnet/Mammoth.Cli/Program.cs')
-rw-r--r--dotnet/Mammoth.Cli/Program.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/dotnet/Mammoth.Cli/Program.cs b/dotnet/Mammoth.Cli/Program.cs
new file mode 100644
index 0000000..f45b100
--- /dev/null
+++ b/dotnet/Mammoth.Cli/Program.cs
@@ -0,0 +1,11 @@
+using System;
+using Mammoth;
+
+namespace Mammoth.Cli {
+ internal class Program {
+ public static void Main(string[] args) {
+ var result = new DocumentConverter().ConvertToHtml(args[0]);
+ Console.WriteLine(result.Value);
+ }
+ }
+}