Skip to content

Commit 5893ef2

Browse files
docs: replace Windows screenshot with current Mac CLI output (SVG)
Old docs/lpx-help.png was from the original Windows build — showed the old tagline, qwen2.5:3b default, and missing voice/watch commands. Replace with docs/lpx-help.svg generated via Rich from the live CLI, showing the current state: cloud AI tagline, llama3:8b default, all 10 commands including voice and watch. Add docs/capture_help.py to regenerate the SVG in future. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 44b0c0a commit 5893ef2

4 files changed

Lines changed: 242 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A local CLI log parser powered by [Ollama](https://ollama.com). Runs entirely on
1313

1414
Part of [Millpond AI](https://millpond.ai).
1515

16-
![LogParseIQX CLI](docs/lpx-help.png)
16+
![LogParseIQX CLI](docs/lpx-help.svg)
1717

1818
---
1919

docs/capture_help.py

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
"""Generate docs/lpx-help.svg from current CLI --help output."""
2+
import sys, pathlib, subprocess
3+
4+
# Run lpx --help using the same python that's running this script
5+
out = subprocess.run(
6+
[sys.executable, "-m", "logparseiqx", "--help"],
7+
capture_output=True, text=True
8+
)
9+
help_text = out.stdout.strip() or out.stderr.strip()
10+
11+
from rich.console import Console
12+
13+
svg_path = pathlib.Path(__file__).parent / "lpx-help.svg"
14+
15+
console = Console(record=True, width=88, force_terminal=True, color_system="truecolor")
16+
console.print(
17+
f"[bold green](.venv)[/bold green] [cyan]dev@Mac logparseiqx[/cyan] "
18+
f"[white]%[/white] [bold white]lpx --help[/bold white]"
19+
)
20+
console.print()
21+
for line in help_text.splitlines():
22+
# Colour the command names in the Commands section
23+
if line.startswith(" ") and not line.startswith(" ") and " " in line.strip():
24+
parts = line.split(None, 1)
25+
if len(parts) == 2:
26+
console.print(f" [bold cyan]{parts[0]:<11}[/bold cyan]{parts[1]}")
27+
continue
28+
console.print(line)
29+
console.print()
30+
console.print(
31+
f"[bold green](.venv)[/bold green] [cyan]dev@Mac logparseiqx[/cyan] "
32+
f"[white]%[/white] [dim]▌[/dim]"
33+
)
34+
35+
svg = console.export_svg(title="LogParseIQX — lpx --help")
36+
svg_path.write_text(svg)
37+
print(f"Saved: {svg_path}")

docs/lpx-help.png

-76.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)