@bobfrankston/msger 0.1.367 → 0.1.369

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -180,6 +180,7 @@ msger -title "Test" -message "Saving config..." -save test.json
180
180
  | `fullscreen` | boolean | false | Start in fullscreen mode |
181
181
  | `zoom` | number | 100 | Initial zoom level (100=100%, 150=150%) |
182
182
  | `debug` | boolean | false | Return debug info in result |
183
+ | `noResult` | boolean | false | Suppress JSON result on stdout (errors still go to stderr) |
183
184
  | `icon` | string | null | Path to window icon (.png, .ico) |
184
185
  | `dev` | boolean | false | Open DevTools automatically (for debugging HTML/URL content) |
185
186
 
@@ -263,6 +264,8 @@ Options:
263
264
  -fullscreen, --fullscreen Start window in fullscreen mode (F11 to toggle, Escape to exit)
264
265
  -raw, --raw With -html: load HTML as-is, no msger template/buttons (alias: -full)
265
266
  -debug, --debug Return debug info (HTML, size, autoSize) in result
267
+ -noresult, --noresult Suppress JSON result output on stdout (errors still go to stderr)
268
+ -result, --result Re-enable result output (overrides -noresult from config file)
266
269
  -v, -version, --version Show version number
267
270
  -help, -?, --help Show help message
268
271
 
@@ -396,6 +399,7 @@ interface MessageBoxOptions {
396
399
  fullscreen?: boolean; // Start window in fullscreen mode (F11 to toggle)
397
400
  rawHtml?: boolean; // With html: load HTML as-is, no msger template/buttons (used by mdview). CLI: -raw
398
401
  debug?: boolean; // Return debug info (HTML, size, autoSize) in result
402
+ noResult?: boolean; // Suppress JSON result on stdout (CLI: -noresult, -result re-enables)
399
403
  }
400
404
  ```
401
405
 
package/cli.js CHANGED
@@ -44,6 +44,8 @@ Options:
44
44
  -pin Create pinnable Start Menu shortcut (requires -load)
45
45
  -dev Open DevTools (F12) automatically on startup (for debugging)
46
46
  -debug Return debug info (HTML, size) in result
47
+ -noresult Suppress JSON result output on stdout (errors still go to stderr)
48
+ -result Re-enable result output (overrides -noresult from a config file)
47
49
  -v, -version, --version Show version number (alone: print and exit; with options: show in title)
48
50
  -help, -?, --help Show this help message
49
51
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/msger",
3
- "version": "0.1.367",
3
+ "version": "0.1.369",
4
4
  "description": "Fast, lightweight, cross-platform message box - Rust-powered alternative to msgview",
5
5
  "type": "module",
6
6
  "main": "./index.js",