From 1b9ab1ff24e10df6813fd7fee8e4d81758a12281 Mon Sep 17 00:00:00 2001 From: cemheren Date: Wed, 24 Jun 2026 11:02:38 -0700 Subject: [PATCH] docs: add usage examples to --help output Append an Examples block to PrintHelp() showing common workflows using only existing flags (export-md/html/json, list-extensions). Closes #374 --- Program.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Program.cs b/Program.cs index f5084a8e..e972a1e8 100644 --- a/Program.cs +++ b/Program.cs @@ -269,6 +269,14 @@ private static void PrintHelp() Console.WriteLine(" http(s)://... Hyperlink. Highlighted, opens in browser on Enter."); Console.WriteLine(); Console.WriteLine("Range references work inside text: {A1::C10}"); + Console.WriteLine(); + Console.WriteLine("Examples:"); + Console.WriteLine(" ExcelConsole data.csv Launch desktop wallpaper with a CSV"); + Console.WriteLine(" ExcelConsole data.csv --export-md out.md Convert CSV to a Markdown table"); + Console.WriteLine(" ExcelConsole data.csv --export-html out.html Convert CSV to a styled HTML table"); + Console.WriteLine(" ExcelConsole data.csv --export-json - Print CSV as JSON to stdout"); + Console.WriteLine(" ExcelConsole --list-extensions List installed extensions"); + Console.WriteLine(); Console.WriteLine("Tour: docs/tour.md ยท Issues: github.com/cemheren/QuickSheet/issues"); }