pyre-cli 1.2.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/Formula/pyre.rb +19 -0
- package/README.md +51 -0
- package/dist/index.js +1267 -0
- package/install.sh +35 -0
- package/package.json +44 -0
package/Formula/pyre.rb
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
class Pyre < Formula
|
|
2
|
+
desc "Mac system monitoring CLI: temps, CPU, memory, disk, battery, live dashboard"
|
|
3
|
+
homepage "https://github.com/somalip/pyre"
|
|
4
|
+
url "https://github.com/somalip/pyre/archive/refs/tags/v1.0.0.tar.gz"
|
|
5
|
+
sha256 "0000000000000000000000000000000000000000000000000000000000000000"
|
|
6
|
+
license "MIT"
|
|
7
|
+
|
|
8
|
+
depends_on "node"
|
|
9
|
+
|
|
10
|
+
def install
|
|
11
|
+
system "npm", "install", "--cache=#{buildpath}/.npm"
|
|
12
|
+
system "npm", "run", "build"
|
|
13
|
+
bin.install "dist/index.js" => "pyre"
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
test do
|
|
17
|
+
assert_match "PYRE", shell_output("#{bin}/pyre --help")
|
|
18
|
+
end
|
|
19
|
+
end
|
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# pyre
|
|
2
|
+
|
|
3
|
+
Mac system monitoring CLI: temps, CPU, memory, disk, battery, live dashboard, and export.
|
|
4
|
+
|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
### npm
|
|
12
|
+
```bash
|
|
13
|
+
npm install -g @somalip/pyre
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
### curl
|
|
17
|
+
```bash
|
|
18
|
+
curl -fsSL https://raw.githubusercontent.com/somalip/pyre/main/install.sh | bash
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Homebrew
|
|
22
|
+
```bash
|
|
23
|
+
brew tap somalip/tap
|
|
24
|
+
brew install pyre
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Usage
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
pyre # Show all system stats
|
|
31
|
+
pyre --detailed # Include sensor / powermetrics detail
|
|
32
|
+
pyre --json # JSON output
|
|
33
|
+
pyre --csv # CSV export
|
|
34
|
+
pyre live # Live monitoring dashboard
|
|
35
|
+
pyre live --interval 3 # Live with custom interval (seconds)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Output includes
|
|
39
|
+
- CPU brand, cores, frequency, load, usage
|
|
40
|
+
- Memory usage, swap
|
|
41
|
+
- Disk space
|
|
42
|
+
- Battery / power status
|
|
43
|
+
- Thermal state & temperatures (`pmset`, `powermetrics`)
|
|
44
|
+
- Network RX/TX
|
|
45
|
+
- Top processes
|
|
46
|
+
|
|
47
|
+
## Requirements
|
|
48
|
+
|
|
49
|
+
- macOS 14+
|
|
50
|
+
- Node.js 18+
|
|
51
|
+
- Optional: `sudo` for `powermetrics` detailed temperatures in `--detailed` mode
|