rushdeploy 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/README.md +67 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,67 @@
1
+ # RushDeploy CLI (Node.js Package)
2
+
3
+ A zero-dependency Node.js command-line utility to manage your self-hosted RushDeploy PaaS account.
4
+
5
+ ---
6
+
7
+ ## Installation
8
+
9
+ Install the package globally via npm:
10
+
11
+ ```bash
12
+ npm install -g rushdeploy
13
+ ```
14
+
15
+ ---
16
+
17
+ ## Quickstart
18
+
19
+ ### 1. Authenticate with your server
20
+ Generate a CLI token in Settings inside the Web Dashboard and log in:
21
+ ```bash
22
+ rushdeploy login <token>
23
+ ```
24
+
25
+ ### 2. Check Workspace Status
26
+ ```bash
27
+ # Displays workspace resource quotas and allocations
28
+ rushdeploy status
29
+ ```
30
+
31
+ ### 3. Deploy a project
32
+ Deploy a public Git repository:
33
+ ```bash
34
+ rushdeploy deploy git https://github.com/my-username/my-react-app.git --branch main --type react
35
+ ```
36
+
37
+ ---
38
+
39
+ ## Commands Reference
40
+
41
+ * **`rushdeploy login <token>`**: Authenticate CLI session.
42
+ * **`rushdeploy logout`**: Clear local auth details.
43
+ * **`rushdeploy whoami`**: View details of the active user profile.
44
+ * **`rushdeploy status`**: Render resource metrics cards.
45
+ * **`rushdeploy plans`**: Show plan pricing quotas.
46
+ * **`rushdeploy projects`**: List active projects.
47
+ * **`rushdeploy repos`**: List repos in connected GitHub profile.
48
+ * **`rushdeploy workspace`**: Display resource usage limits and quotas.
49
+ * **`rushdeploy help`**: Show the CLI help dialog.
50
+
51
+ ### Deployments
52
+ * **`rushdeploy deploy git <url> [opts]`**: Trigger deployment from a Git clone URL.
53
+ * *Options: `--name <name>`, `--branch <branch>`, `--type <framework>`*
54
+ * **`rushdeploy deploy repo <owner/repo> [opts]`**: Trigger deployment from your connected GitHub account.
55
+ * *Options: `--name <name>`, `--branch <branch>`, `--type <framework>`*
56
+ * **`rushdeploy deploy wordpress <name> --email <e> [opts]`**: Provision a new WordPress site instance.
57
+ * *Options: `--title <title>`, `--user <user>`, `--password <pass>`*
58
+
59
+ ### Project Control
60
+ * **`rushdeploy project <slug> start|stop|redeploy`**: Control container run state.
61
+ * **`rushdeploy project <slug> visit`**: Open the project's URL in your default browser.
62
+ * **`rushdeploy project <slug> stats`**: Stream container CPU & RAM telemetry.
63
+ * **`rushdeploy project <slug> logs`**: Tail container build and running output.
64
+ * *Options: `--lines <N>`*
65
+ * **`rushdeploy project <slug> env [set|remove]`**: Configure environment variables.
66
+ * **`rushdeploy project <slug> autoscale`**: Read/write auto-scaling replica properties.
67
+ * **`rushdeploy project <slug> autodeploy <on|off>`**: Toggle webhook push deployments.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rushdeploy",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "CLI tool to manage your self-hosted RushDeploy PaaS account.",
5
5
  "main": "bin/index.js",
6
6
  "bin": {
@@ -17,4 +17,4 @@
17
17
  ],
18
18
  "author": "RushDeploy Team",
19
19
  "license": "MIT"
20
- }
20
+ }