diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-04-17 18:57:29 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-04-17 18:58:12 +0100 |
| commit | 52140d52210eda0f25ecab9f89b5c73473e9d8e0 (patch) | |
| tree | cb383edb71e44b8ae7b2b0d0890f13574d1922f0 /dotnet/Mammoth.Cli/Program.cs | |
| parent | 0f9ef005f063198ea2e16ca36beaead4bd5e3824 (diff) | |
Add CLI for .NET version
Diffstat (limited to 'dotnet/Mammoth.Cli/Program.cs')
| -rw-r--r-- | dotnet/Mammoth.Cli/Program.cs | 11 |
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); + } + } +} |
