Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

docs: move bash code comments to separate lines

Mario82b263c134e7
diff --git a/docs/get-started.md b/docs/get-started.md
index 8e29a252..7f22f733 100644
--- a/docs/get-started.md
+++ b/docs/get-started.md
@@ -128,8 +128,11 @@ pinchtab text --raw
### Take a Screenshot
```bash
+# Save screenshot
pinchtab screenshot -o page.jpg
-pinchtab screenshot -o page.jpg -q 75 # Lower quality
+
+# Lower quality
+pinchtab screenshot -o page.jpg -q 75
```
### Export as PDF
@@ -154,7 +157,9 @@ pinchtab snap -i -c
# Or fill a form
pinchtab fill e3 "[email protected]"
pinchtab fill e5 "password"
-pinchtab click e7 # Submit button
+
+# Submit button
+pinchtab click e7
```
### Multiple Tabs
@@ -189,23 +194,23 @@ PinchTab is **tab-centric**, not URL-centric:
### Typical Workflow
-```
-1. Navigate to a page
- pinchtab nav https://example.com
+```bash
+# 1. Navigate to a page
+pinchtab nav https://example.com
-2. Get page structure
- pinchtab snap -i -c # See buttons, links, inputs
+# 2. Get page structure (see buttons, links, inputs)
+pinchtab snap -i -c
-3. Interact with page
- pinchtab click e5 # Click element
- pinchtab type e3 "text" # Type text
+# 3. Interact with page
+pinchtab click e5
+pinchtab type e3 "text"
-4. Verify changes
- pinchtab snap -i -c # Check new state
+# 4. Verify changes
+pinchtab snap -i -c
-5. Capture result
- pinchtab screenshot # Take screenshot
- pinchtab pdf -o out.pdf # Export PDF
+# 5. Capture result
+pinchtab screenshot
+pinchtab pdf -o out.pdf
```
---
@@ -398,9 +403,9 @@ pkill pinchtab
sleep 2
pinchtab &
-# Tab and session restored
+# Tab and session restored (already authenticated)
pinchtab nav https://example.com/dashboard
-pinchtab snap # Already authenticated
+pinchtab snap
```
### Scenario 4: Generate PDF Report
diff --git a/docs/references/cli-commands.md b/docs/references/cli-commands.md
index 886c737e..d519c97b 100644
--- a/docs/references/cli-commands.md
+++ b/docs/references/cli-commands.md
@@ -119,14 +119,29 @@ pinchtab snapshot # Alias
**Options:**
```bash
-pinchtab snap -i # Interactive only (buttons, links, inputs)
-pinchtab snap -c # Compact format (most token-efficient)
-pinchtab snap -d # Diff only (changes since last snapshot)
-pinchtab snap -i -c # Combine flags
-pinchtab snap -s "main > form" # CSS selector scope
-pinchtab snap --max-tokens 1000 # Truncate to ~1000 tokens
-pinchtab snap --depth 3 # Max tree depth
-pinchtab snap --tab <tabId> # Target specific tab
+# Interactive only (buttons, links, inputs)
+pinchtab snap -i
+
+# Compact format (most token-efficient)
+pinchtab snap -c
+
+# Diff only (changes since last snapshot)
+pinchtab snap -d
+
+# Combine flags
+pinchtab snap -i -c
+
+# CSS selector scope
+pinchtab snap -s "main > form"
+
+# Truncate to ~1000 tokens
+pinchtab snap --max-tokens 1000
+
+# Max tree depth
+pinchtab snap --depth 3
+
+# Target specific tab
+pinchtab snap --tab <tabId>
```
**Flags:**
@@ -169,7 +184,8 @@ pinchtab click <ref>
**Example:**
```bash
-pinchtab click e5 # Click element with ref e5
+# Click element with ref e5
+pinchtab click e5
```
#### Type Text