ework-aio 0.1.5 → 0.1.6

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/bin/ework-aio +10 -4
  2. package/package.json +1 -1
package/bin/ework-aio CHANGED
@@ -16,16 +16,22 @@ Usage:
16
16
  ework-aio install [options] Install and start ework-web + ework-daemon
17
17
  ework-aio uninstall Stop services and remove units (keeps data)
18
18
  ework-aio status Show service status
19
- ework-aio logs [svc] Tail logs (svc: ework-web | ework-daemon)
19
+ ework-aio logs [svc] Tail logs (svc: web | daemon)
20
20
  ework-aio env Print the .env path and key names (no values)
21
+ ework-aio config <subcommand> Read / change runtime .env keys
22
+ config list List settable keys + current values
23
+ config get <KEY> Print one key's value
24
+ config set <KEY> <VALUE> Set a key, then restart affected service
25
+ (use --no-restart to defer)
26
+ config restart <web|daemon|both>
21
27
  ework-aio --version Print version
22
28
 
23
29
  Install options:
24
30
  --user Use user-level systemd units (default if non-root)
25
31
  --system Use system-level systemd units (default if root)
26
32
  --data-dir <path> Override data directory (default: ~/.local/share/ework-aio)
27
- --port <n> ework-web port (default: 3002)
28
- --daemon-port <n> ework-daemon port (default: 3101)
33
+ --port <n> ework-web port (default 3002)
34
+ --daemon-port <n> ework-daemon port (default 3101)
29
35
  --bot-name <login> Bot username (default: ework-daemon)
30
36
  --no-start Install units but don't start services
31
37
  --yes Skip all prompts (use generated defaults)
@@ -49,7 +55,7 @@ if (!existsSync(installSh)) {
49
55
  process.exit(1);
50
56
  }
51
57
 
52
- const knownSubs = ["install", "uninstall", "status", "logs", "env"];
58
+ const knownSubs = ["install", "uninstall", "status", "logs", "env", "config"];
53
59
  const finalArgs = knownSubs.includes(subcommand) ? args : ["install", ...args];
54
60
 
55
61
  const result = spawnSync(["bash", installSh, ...finalArgs], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ework-aio",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "All-in-one installer for ework (issue tracker) + ework-daemon (AI bridge) + opencode-ework (plugin). One command: npm i -g ework-aio && ework-aio install.",
5
5
  "type": "module",
6
6
  "license": "MIT",