@harly/cli 0.1.1 → 0.1.3

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 +6 -10
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -9,13 +9,10 @@
9
9
  # @harly/cli
10
10
 
11
11
  Official operations command for Harly self-hosting. It delegates to the
12
- versioned `@harly/create` package:
12
+ versioned installer package while keeping the user-facing command simple:
13
13
 
14
14
  ```bash
15
- npx @harly/cli init harly
16
- cd harly
17
- npx @harly/cli upgrade
18
- npx @harly/cli doctor
15
+ npx @harly/cli
19
16
  ```
20
17
 
21
18
  Upgrades preserve configuration and Docker volumes, create a backup first,
@@ -31,9 +28,7 @@ run migrations once, wait for health checks, and pin the pulled image digest.
31
28
  ## Install Harly
32
29
 
33
30
  ```bash
34
- npx @harly/cli init harly
35
- cd harly
36
- npx @harly/cli launch . --yes
31
+ npx @harly/cli
37
32
  ```
38
33
 
39
34
  The wizard configures PostgreSQL, the Harly app, scheduler, persistent uploads,
@@ -43,7 +38,7 @@ and optional automatic HTTPS through Caddy.
43
38
 
44
39
  ```bash
45
40
  cd harly
46
- npx @harly/cli upgrade
41
+ npx @harly/cli update
47
42
  ```
48
43
 
49
44
  Use `--to edge` for preview builds or `--to <version>` for a fixed release.
@@ -58,7 +53,8 @@ harly launch [directory] [--yes]
58
53
  harly doctor [directory] [--json]
59
54
  harly backup [directory]
60
55
  harly restore <archive> [directory] --force
61
- harly upgrade [directory] [--to version|edge]
56
+ harly update [directory] [--to version|edge]
57
+ harly uninstall [directory] [--remove-data]
62
58
  ```
63
59
 
64
60
  Harly is open source under AGPL-3.0. Source, documentation, and issue tracking
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@harly/cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Official operations CLI for self-hosted Harly.",
@@ -19,5 +19,5 @@
19
19
  "test": "node --test test/*.test.mjs",
20
20
  "pack:check": "npm pack --dry-run"
21
21
  },
22
- "dependencies": { "@harly/create": "0.1.1" }
22
+ "dependencies": { "@harly/create": "0.1.3" }
23
23
  }