@prevsh/cli 1.10.2 → 1.11.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.
Files changed (2) hide show
  1. package/README.md +39 -0
  2. package/package.json +5 -2
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # prev CLI
2
+
3
+ Create and manage prev preview environments from your terminal.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install -g @prevsh/cli
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ Set your API key:
14
+
15
+ ```bash
16
+ export PREV_API_KEY="your-api-key"
17
+ ```
18
+
19
+ Then deploy a project:
20
+
21
+ ```bash
22
+ prev create .
23
+ ```
24
+
25
+ Useful commands:
26
+
27
+ ```bash
28
+ prev create . # deploy a local project
29
+ prev create --image nginx # deploy a Docker image
30
+ prev list # list active environments
31
+ prev env <id-or-url> # show environment details
32
+ prev logs <id-or-url> # show logs
33
+ prev destroy <id-or-url> # destroy an environment
34
+ prev ui # open the local mini-dashboard
35
+ ```
36
+
37
+ See the CLI docs for the full command reference:
38
+
39
+ https://prev.sh/docs/commands/
package/package.json CHANGED
@@ -1,11 +1,14 @@
1
1
  {
2
2
  "name": "@prevsh/cli",
3
- "version": "1.10.2",
3
+ "version": "1.11.0",
4
4
  "description": "Prev CLI - Preview environments for web projects",
5
5
  "homepage": "https://prev.sh",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/prevsh/platform"
8
+ "url": "https://github.com/prevsh/apt"
9
+ },
10
+ "bugs": {
11
+ "url": "https://prev.sh/support"
9
12
  },
10
13
  "license": "MIT",
11
14
  "bin": {