pyre-cli 8.0.0 → 8.1.0
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 +5 -1
- package/package.json +1 -1
- package/src/index.ts +24 -0
package/README.md
CHANGED
|
@@ -73,6 +73,9 @@ pyre live # Interactive live dashboard
|
|
|
73
73
|
pyre live --interval 3 --log # Custom refresh interval + auto-logging
|
|
74
74
|
pyre live --alert-cpu 80 --alert-temp 85 --temp-unit f
|
|
75
75
|
|
|
76
|
+
pyre ui # Launch native macOS UI dashboard
|
|
77
|
+
pyre web # Serve auto-refreshing live web portal on localhost
|
|
78
|
+
|
|
76
79
|
pyre anomalies --since 7d # Statistical resource spike digest from past CSV logs
|
|
77
80
|
pyre doctor # System diagnostics (Gatekeeper, SIP, XProtect, powermetrics)
|
|
78
81
|
pyre extensions # System extensions inspector (systemextensionsctl)
|
|
@@ -162,11 +165,12 @@ These options apply to both static snapshots and `pyre live`, except where noted
|
|
|
162
165
|
|---|---|
|
|
163
166
|
| `pyre live` | Start the interactive live dashboard |
|
|
164
167
|
|
|
165
|
-
### Web
|
|
168
|
+
### Web & Native dashboards
|
|
166
169
|
|
|
167
170
|
| Command | Description |
|
|
168
171
|
|---|---|
|
|
169
172
|
| `pyre web` | Serve an auto-refreshing live web portal with real-time SSE stats streaming on localhost (`--port <port>`) |
|
|
173
|
+
| `pyre ui` | Launch the native macOS UI dashboard (wraps the web portal in a native window) |
|
|
170
174
|
|
|
171
175
|
### P2P
|
|
172
176
|
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -74,6 +74,30 @@ program
|
|
|
74
74
|
.option('--alert-cmd <cmd>', 'Command to execute on alert')
|
|
75
75
|
.option('--port <port>', 'Port number for web server mode', '3000');
|
|
76
76
|
|
|
77
|
+
program.addHelpText('after', \`
|
|
78
|
+
Commands:
|
|
79
|
+
live Interactive live dashboard
|
|
80
|
+
ui Launch the native macOS UI dashboard
|
|
81
|
+
web Serve an auto-refreshing live web portal
|
|
82
|
+
ssh <host> Stream live stats from a remote Mac over SSH
|
|
83
|
+
fleet <host1> [host2]... Multi-host live dashboard monitoring multiple Macs
|
|
84
|
+
bench <cmd> Log CPU, memory, network, power draw, and estimate kWh cost
|
|
85
|
+
anomalies Compute z-score anomalies and print plain-language digest
|
|
86
|
+
doctor Run system diagnostics
|
|
87
|
+
extensions System Extensions inspector
|
|
88
|
+
brew Homebrew health panel
|
|
89
|
+
update Check for pyre-cli updates
|
|
90
|
+
profile <save|load|list> Atomic configuration profile management
|
|
91
|
+
config <show|reset> View or reset persistent configuration file
|
|
92
|
+
history Graph historical resource trends from CSV logs
|
|
93
|
+
diff <file1> <file2> Compare two saved snapshot files side-by-side
|
|
94
|
+
info Concise hardware summary
|
|
95
|
+
completions <shell> Generate shell auto-completion scripts
|
|
96
|
+
xbar Generate an xbar / SwiftBar menu bar plugin script
|
|
97
|
+
p2p <server|connect> Start a P2P server or connect to one
|
|
98
|
+
server Print commands for starting P2P server/client
|
|
99
|
+
\`);
|
|
100
|
+
|
|
77
101
|
program.parse(process.argv);
|
|
78
102
|
|
|
79
103
|
const opts = program.opts();
|