tangled
alpha
login
or
join now
tsiry-sandratraina.com
/
pm22
2
fork
atom
A lightweight CLI tool that connects to a remote server over SSH and executes PM2 process manager commands.
2
fork
atom
overview
issues
pulls
pipelines
update README
tsiry-sandratraina.com
9 months ago
46b169b5
ad04543b
+8
-8
1 changed file
expand all
collapse all
unified
split
README.md
+8
-8
README.md
···
37
37
38
38
| Name | Description |
39
39
| ----------- | ------------------------------------------------------------------- |
40
40
-
| `<host>` | Host to connect to, including username (e.g., user@your.server.com) |
41
40
| `<cmd>` | PM2 command to execute (start, restart, status, logs, etc.) |
42
41
| `[args]...` | Additional arguments passed to the PM2 command |
43
42
44
43
## 🔹 Options
45
44
46
46
-
| Flag | Description | Default |
47
47
-
| --------------------- | ------------------------------------------- | --------------- |
48
48
-
| `-p`, `--port <port>` | SSH port to connect to | `22` |
49
49
-
| `-k`, `--key <path>` | Path to your SSH private key | `~/.ssh/id_rsa` |
50
50
-
| `-v`, `--verbose` | Enable verbose output for debugging/logging | |
51
51
-
| `-h`, `--help` | Show help information | |
52
52
-
| `-V`, `--version` | Show version information | |
45
45
+
| Flag | Description | Default |
46
46
+
| --------------------- | ----------------------------------------------- | --------------- |
47
47
+
| `-h`, `--host <host>` | Host to connect to (e.g., user@your.server.com) | |
48
48
+
| `-p`, `--port <port>` | SSH port to connect to | `22` |
49
49
+
| `-k`, `--key <path>` | Path to your SSH private key | `~/.ssh/id_rsa` |
50
50
+
| `-v`, `--verbose` | Enable verbose output for debugging/logging | |
51
51
+
| `--help` | Show help information | |
52
52
+
| `-V`, `--version` | Show version information | |
53
53
54
54
## 📄 License
55
55
MIT License © 2025 [Tsiry Sandratraina](https://github.com/tsirysndr)