@temps-sdk/cli 0.1.38 → 0.2.0-beta.2

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 (112) hide show
  1. package/README.md +14 -0
  2. package/dist/index.js +63877 -40097
  3. package/dist/skills/temps/SKILL.md +18 -9
  4. package/dist/skills/temps/evals/evals.json +23 -6
  5. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  6. package/dist/skills/temps/howtos/ci-automation.md +2 -3
  7. package/dist/skills/temps/howtos/curated-services.md +69 -0
  8. package/dist/skills/temps/howtos/deploy-application.md +8 -1
  9. package/dist/skills/temps/howtos/edge-rules.md +135 -0
  10. package/dist/skills/temps/howtos/managed-services.md +4 -4
  11. package/dist/skills/temps/howtos/projects-and-monorepos.md +2 -1
  12. package/dist/skills/temps/references/cli-runtime.md +10 -18
  13. package/dist/skills/temps/references/commands/INDEX.md +11 -0
  14. package/dist/skills/temps/references/commands/access.md +4 -0
  15. package/dist/skills/temps/references/commands/agents.md +731 -0
  16. package/dist/skills/temps/references/commands/ai.md +2638 -9
  17. package/dist/skills/temps/references/commands/alarms.md +129 -0
  18. package/dist/skills/temps/references/commands/analytics.md +1199 -2
  19. package/dist/skills/temps/references/commands/apikeys.md +50 -1
  20. package/dist/skills/temps/references/commands/audit.md +1 -0
  21. package/dist/skills/temps/references/commands/backups.md +312 -0
  22. package/dist/skills/temps/references/commands/blob.md +169 -0
  23. package/dist/skills/temps/references/commands/cloud.md +73 -0
  24. package/dist/skills/temps/references/commands/cluster.md +223 -0
  25. package/dist/skills/temps/references/commands/configure.md +7 -0
  26. package/dist/skills/temps/references/commands/containers.md +45 -0
  27. package/dist/skills/temps/references/commands/context.md +6 -0
  28. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  29. package/dist/skills/temps/references/commands/data.md +11 -13
  30. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  31. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  32. package/dist/skills/temps/references/commands/deploy.md +2 -0
  33. package/dist/skills/temps/references/commands/deployments.md +560 -0
  34. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  35. package/dist/skills/temps/references/commands/domains.md +105 -0
  36. package/dist/skills/temps/references/commands/drop.md +2 -0
  37. package/dist/skills/temps/references/commands/edge-rules.md +218 -0
  38. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  39. package/dist/skills/temps/references/commands/email-providers.md +64 -1
  40. package/dist/skills/temps/references/commands/emails.md +91 -0
  41. package/dist/skills/temps/references/commands/env-pull.md +2 -0
  42. package/dist/skills/temps/references/commands/env-push.md +2 -0
  43. package/dist/skills/temps/references/commands/environments.md +695 -2
  44. package/dist/skills/temps/references/commands/errors.md +1134 -61
  45. package/dist/skills/temps/references/commands/facets.md +6 -0
  46. package/dist/skills/temps/references/commands/flags.md +179 -0
  47. package/dist/skills/temps/references/commands/funnels.md +22 -2
  48. package/dist/skills/temps/references/commands/incidents.md +22 -0
  49. package/dist/skills/temps/references/commands/init.md +2 -0
  50. package/dist/skills/temps/references/commands/instances.md +6 -0
  51. package/dist/skills/temps/references/commands/instantiations.md +4 -0
  52. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  53. package/dist/skills/temps/references/commands/kv.md +184 -0
  54. package/dist/skills/temps/references/commands/link.md +2 -0
  55. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  56. package/dist/skills/temps/references/commands/login.md +9 -1
  57. package/dist/skills/temps/references/commands/logs.md +405 -10
  58. package/dist/skills/temps/references/commands/mcp-servers.md +4 -0
  59. package/dist/skills/temps/references/commands/mcp.md +8 -1
  60. package/dist/skills/temps/references/commands/migrate.md +26 -0
  61. package/dist/skills/temps/references/commands/monitors.md +456 -0
  62. package/dist/skills/temps/references/commands/network-policy.md +147 -0
  63. package/dist/skills/temps/references/commands/nodes.md +209 -2
  64. package/dist/skills/temps/references/commands/notifications.md +173 -2
  65. package/dist/skills/temps/references/commands/open.md +2 -0
  66. package/dist/skills/temps/references/commands/otel-forward.md +16 -0
  67. package/dist/skills/temps/references/commands/otel.md +436 -0
  68. package/dist/skills/temps/references/commands/platform.md +57 -0
  69. package/dist/skills/temps/references/commands/plugin.md +106 -1
  70. package/dist/skills/temps/references/commands/presets.md +2 -0
  71. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  72. package/dist/skills/temps/references/commands/project-groups.md +72 -4
  73. package/dist/skills/temps/references/commands/projects.md +509 -4
  74. package/dist/skills/temps/references/commands/providers.md +533 -1
  75. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  76. package/dist/skills/temps/references/commands/revenue.md +223 -0
  77. package/dist/skills/temps/references/commands/rollback.md +2 -0
  78. package/dist/skills/temps/references/commands/sandbox.md +790 -10
  79. package/dist/skills/temps/references/commands/secrets.md +19 -6
  80. package/dist/skills/temps/references/commands/server.md +107 -0
  81. package/dist/skills/temps/references/commands/services.md +836 -5
  82. package/dist/skills/temps/references/commands/session-replay.md +8 -0
  83. package/dist/skills/temps/references/commands/settings.md +346 -0
  84. package/dist/skills/temps/references/commands/shield.md +354 -0
  85. package/dist/skills/temps/references/commands/skills.md +6 -0
  86. package/dist/skills/temps/references/commands/start.md +1 -0
  87. package/dist/skills/temps/references/commands/status-pages.md +376 -9
  88. package/dist/skills/temps/references/commands/status.md +2 -0
  89. package/dist/skills/temps/references/commands/surveys.md +165 -0
  90. package/dist/skills/temps/references/commands/teams.md +28 -0
  91. package/dist/skills/temps/references/commands/templates.md +22 -2
  92. package/dist/skills/temps/references/commands/tokens.md +106 -0
  93. package/dist/skills/temps/references/commands/traces.md +207 -0
  94. package/dist/skills/temps/references/commands/traefik-discovery.md +10 -0
  95. package/dist/skills/temps/references/commands/tunnels.md +141 -0
  96. package/dist/skills/temps/references/commands/up.md +2 -0
  97. package/dist/skills/temps/references/commands/users.md +127 -0
  98. package/dist/skills/temps/references/commands/vault.md +662 -0
  99. package/dist/skills/temps/references/commands/webhooks.md +10 -0
  100. package/dist/skills/temps/references/commands/workflow.md +2 -0
  101. package/dist/skills/temps/references/commands/workflows.md +563 -0
  102. package/dist/skills/temps/references/observability/analytics.md +2 -2
  103. package/dist/skills/temps/references/workflows/platform-operations.md +46 -36
  104. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  105. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  106. package/dist/skills/temps/scripts/test_validate_skill.py +25 -66
  107. package/dist/skills/temps/scripts/validate_skill.py +29 -43
  108. package/package.json +9 -3
  109. package/dist/skills/temps/scripts/__pycache__/generate_command_references.cpython-314.pyc +0 -0
  110. package/dist/skills/temps/scripts/__pycache__/test_generate_command_references.cpython-314.pyc +0 -0
  111. package/dist/skills/temps/scripts/__pycache__/test_validate_skill.cpython-314.pyc +0 -0
  112. package/dist/skills/temps/scripts/__pycache__/validate_skill.cpython-314.pyc +0 -0
@@ -6,22 +6,26 @@ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing
6
6
 
7
7
  ## `plugin`
8
8
 
9
- Create, install, update and build TypeScript plugins
9
+ Create and build TypeScript plugins, or install and manage external plugins
10
10
 
11
11
  **Subcommands:**
12
12
 
13
13
  - `install` - Install a GitHub TypeScript plugin on the configured Temps server; the server uses its host Git credentials and Docker
14
14
  - `update` - Rebuild an installed GitHub plugin from its stored source; keep the current plugin if the update fails
15
+ - `install-local` - Upload and activate a trusted native plugin on the configured Temps host
15
16
  - `grants` - Inspect or replace a plugin's host API permissions and AI limits
16
17
  - `dev` - Run a plugin with a local simulated host, UI preview, and events (no Temps server)
17
18
  - `init` - Create a TypeScript plugin project
18
19
  - `build` - Build every platform selected in package.json; --all selects all six supported targets
19
20
  - `publish` - Build, publish native npm packages, verify ownership and submit for review; resumes interrupted releases
21
+ - `api` - Api commands
20
22
 
21
23
  ### `plugin install`
22
24
 
23
25
  Install a GitHub TypeScript plugin on the configured Temps server; the server uses its host Git credentials and Docker
24
26
 
27
+ **Usage:** `plugin install <repository> [options]`
28
+
25
29
  **Options:**
26
30
 
27
31
  | Flag | Description | Default | Required |
@@ -38,6 +42,8 @@ Install a GitHub TypeScript plugin on the configured Temps server; the server us
38
42
 
39
43
  Rebuild an installed GitHub plugin from its stored source; keep the current plugin if the update fails
40
44
 
45
+ **Usage:** `plugin update <name> [options]`
46
+
41
47
  **Options:**
42
48
 
43
49
  | Flag | Description | Default | Required |
@@ -45,6 +51,20 @@ Rebuild an installed GitHub plugin from its stored source; keep the current plug
45
51
  | `--ref <ref>` | Use a different branch, tag, or commit | - | No |
46
52
  | `-y, --yes` | Trust the update without prompting | - | No |
47
53
 
54
+ ### `plugin install-local`
55
+
56
+ Upload and activate a trusted native plugin on the configured Temps host
57
+
58
+ **Usage:** `plugin install-local <file> [options]`
59
+
60
+ **Options:**
61
+
62
+ | Flag | Description | Default | Required |
63
+ |------|-------------|---------|----------|
64
+ | `--name <name>` | Expected plugin manifest name | - | Yes |
65
+ | `--plugin-version <version>` | Expected plugin manifest version | - | Yes |
66
+ | `-y, --yes` | Approve execution of this file without prompting | - | No |
67
+
48
68
  ### `plugin grants`
49
69
 
50
70
  Inspect or replace a plugin's host API permissions and AI limits
@@ -58,10 +78,14 @@ Inspect or replace a plugin's host API permissions and AI limits
58
78
 
59
79
  Show current grants, actor identity, and AI availability
60
80
 
81
+ **Usage:** `plugin grants get <name>`
82
+
61
83
  #### `plugin grants set`
62
84
 
63
85
  Replace all host grants; --clear revokes all permissions immediately
64
86
 
87
+ **Usage:** `plugin grants set <name> [options]`
88
+
65
89
  **Options:**
66
90
 
67
91
  | Flag | Description | Default | Required |
@@ -75,6 +99,8 @@ Replace all host grants; --clear revokes all permissions immediately
75
99
 
76
100
  Run a plugin with a local simulated host, UI preview, and events (no Temps server)
77
101
 
102
+ **Usage:** `plugin dev [binary] [args...] [options]`
103
+
78
104
  **Options:**
79
105
 
80
106
  | Flag | Description | Default | Required |
@@ -126,6 +152,8 @@ Show the last 200 redacted simulator records
126
152
 
127
153
  Deliver an event; sent does not mean handler completed
128
154
 
155
+ **Usage:** `plugin dev emit [type] [options]`
156
+
129
157
  **Options:**
130
158
 
131
159
  | Flag | Description | Default | Required |
@@ -166,6 +194,8 @@ Replace all grants or revoke all with --clear
166
194
 
167
195
  Create a TypeScript plugin project
168
196
 
197
+ **Usage:** `plugin init <directory> [options]`
198
+
169
199
  **Options:**
170
200
 
171
201
  | Flag | Description | Default | Required |
@@ -191,3 +221,78 @@ Build, publish native npm packages, verify ownership and submit for review; resu
191
221
  | Flag | Description | Default | Required |
192
222
  |------|-------------|---------|----------|
193
223
  | `-y, --yes` | Confirm public npm publication non-interactively | - | No |
224
+
225
+ ### `plugin api`
226
+
227
+ Api commands
228
+
229
+ **Subcommands:**
230
+
231
+ - `list-chat-watches` - List chat plugin watches
232
+ - `change-chat-watch` - Change chat plugin watch
233
+ - `get-ai-tools` - Get plugin ai tools
234
+ - `put-ai-tools` - Put plugin ai tools
235
+
236
+ #### `plugin api list-chat-watches`
237
+
238
+ List chat plugin watches
239
+
240
+ **Usage:** `plugin api list-chat-watches <chat> [options]`
241
+
242
+ **Options:**
243
+
244
+ | Flag | Description | Default | Required |
245
+ |------|-------------|---------|----------|
246
+ | `--json` | Output in JSON format | - | No |
247
+
248
+ #### `plugin api change-chat-watch`
249
+
250
+ Change chat plugin watch
251
+
252
+ **Usage:** `plugin api change-chat-watch <chat> [options]`
253
+
254
+ **Options:**
255
+
256
+ | Flag | Description | Default | Required |
257
+ |------|-------------|---------|----------|
258
+ | `--action <value>` | Body field action (one of: create, pause, resume, remove) [required] | - | No |
259
+ | `--digest <value>` | Body field digest | - | No |
260
+ | `--mode <value>` | Body field mode (one of: notify, wake) | - | No |
261
+ | `--plugin <value>` | Body field plugin | - | No |
262
+ | `--source <value>` | Body field source | - | No |
263
+ | `--subject <value>` | Body field subject | - | No |
264
+ | `--where <json>` | Body field where (JSON) | - | No |
265
+ | `--id <value>` | Body field id | - | No |
266
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
267
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
268
+ | `--json` | Output in JSON format | - | No |
269
+
270
+ #### `plugin api get-ai-tools`
271
+
272
+ Get plugin ai tools
273
+
274
+ **Usage:** `plugin api get-ai-tools <name> [options]`
275
+
276
+ **Options:**
277
+
278
+ | Flag | Description | Default | Required |
279
+ |------|-------------|---------|----------|
280
+ | `--json` | Output in JSON format | - | No |
281
+
282
+ #### `plugin api put-ai-tools`
283
+
284
+ Put plugin ai tools
285
+
286
+ **Usage:** `plugin api put-ai-tools <name> [options]`
287
+
288
+ **Options:**
289
+
290
+ | Flag | Description | Default | Required |
291
+ |------|-------------|---------|----------|
292
+ | `--actor-id <value>` | Current actor_id returned by GET; replacing the installation requires fresh consent [required] | - | No |
293
+ | `--enabled` | Body field enabled [required] | - | No |
294
+ | `--no-enabled` | Set enabled to false | - | No |
295
+ | `--installation-revision <value>` | Binary revision returned by GET; a changed binary requires fresh consent [required] | - | No |
296
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
297
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
298
+ | `--json` | Output in JSON format | - | No |
@@ -28,6 +28,8 @@ List available presets
28
28
 
29
29
  Show details for a specific preset
30
30
 
31
+ **Usage:** `presets show <slug> [options]`
32
+
31
33
  **Options:**
32
34
 
33
35
  | Flag | Description | Default | Required |
@@ -0,0 +1,91 @@
1
+ <!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
2
+
3
+ # `preview-gateway` command reference
4
+
5
+ Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
+
7
+ ## `preview-gateway` (alias: `pgw`)
8
+
9
+ Manage the preview gateway that serves workspace preview URLs (status, settings, logs, restart, upgrade)
10
+
11
+ **Subcommands:**
12
+
13
+ - `status` - Show the gateway container's health, image and last setup error
14
+ - `settings` (`show`) - Show the gateway settings: enabled, image, host port, auto-upgrade, container name, and their defaults
15
+ - `configure` (`set`) - Change gateway settings; only the flags you pass are changed
16
+ - `logs` - Print the latest gateway container log lines
17
+ - `restart` - Restart the gateway container (previews are briefly unavailable)
18
+ - `upgrade` - Pull an image and recreate the gateway with it (previews are briefly unavailable)
19
+
20
+ ### `preview-gateway status`
21
+
22
+ Show the gateway container's health, image and last setup error
23
+
24
+ **Options:**
25
+
26
+ | Flag | Description | Default | Required |
27
+ |------|-------------|---------|----------|
28
+ | `--json` | Output in JSON format | - | No |
29
+
30
+ ### `preview-gateway settings` (alias: `show`)
31
+
32
+ Show the gateway settings: enabled, image, host port, auto-upgrade, container name, and their defaults
33
+
34
+ **Options:**
35
+
36
+ | Flag | Description | Default | Required |
37
+ |------|-------------|---------|----------|
38
+ | `--json` | Output in JSON format | - | No |
39
+
40
+ ### `preview-gateway configure` (alias: `set`)
41
+
42
+ Change gateway settings; only the flags you pass are changed
43
+
44
+ **Options:**
45
+
46
+ | Flag | Description | Default | Required |
47
+ |------|-------------|---------|----------|
48
+ | `--enable` | Run the gateway (creates its containers) | - | No |
49
+ | `--disable` | Stop running the gateway (removes its containers; preview URLs stop being served) | - | No |
50
+ | `--image <ref>` | Gateway image to run, ideally an immutable @sha256 reference | - | No |
51
+ | `--reset-image` | Go back to the image pinned in this Temps build | - | No |
52
+ | `--host-port <port>` | Host port the ingress relay's :8080 is published on | - | No |
53
+ | `--auto-upgrade` | Apply the pinned image on every Temps startup (default) | - | No |
54
+ | `--no-auto-upgrade` | Leave the running image alone on startup; upgrade by hand | - | No |
55
+ | `--container-name <name>` | Docker container name; change only when several Temps instances share one Docker daemon | - | No |
56
+ | `--reset-container-name` | Go back to the default container name | - | No |
57
+ | `-y, --yes` | Do not ask before a change that interrupts previews (--disable, a new container name) | - | No |
58
+ | `--json` | Print the saved settings as JSON | - | No |
59
+
60
+ ### `preview-gateway logs`
61
+
62
+ Print the latest gateway container log lines
63
+
64
+ **Options:**
65
+
66
+ | Flag | Description | Default | Required |
67
+ |------|-------------|---------|----------|
68
+ | `--tail <lines>` | Lines to print, 1 to 2000 (default 200) | - | No |
69
+ | `--json` | Output in JSON format | - | No |
70
+
71
+ ### `preview-gateway restart`
72
+
73
+ Restart the gateway container (previews are briefly unavailable)
74
+
75
+ **Options:**
76
+
77
+ | Flag | Description | Default | Required |
78
+ |------|-------------|---------|----------|
79
+ | `-y, --yes` | Do not ask for confirmation | - | No |
80
+
81
+ ### `preview-gateway upgrade`
82
+
83
+ Pull an image and recreate the gateway with it (previews are briefly unavailable)
84
+
85
+ **Options:**
86
+
87
+ | Flag | Description | Default | Required |
88
+ |------|-------------|---------|----------|
89
+ | `--image <ref>` | Image to pull and run, ideally an immutable @sha256 reference | - | No |
90
+ | `--default` | Use the image pinned in this Temps build | - | No |
91
+ | `-y, --yes` | Do not ask for confirmation | - | No |
@@ -4,6 +4,22 @@
4
4
 
5
5
  Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
6
6
 
7
+ ## Contents
8
+
9
+ - [`project-groups list`](#project-groups-list-alias-ls)
10
+ - [`project-groups show`](#project-groups-show-alias-get)
11
+ - [`project-groups create`](#project-groups-create-alias-new)
12
+ - [`project-groups update`](#project-groups-update-alias-edit)
13
+ - [`project-groups delete`](#project-groups-delete-alias-rm)
14
+ - [`project-groups add`](#project-groups-add)
15
+ - [`project-groups remove`](#project-groups-remove)
16
+ - [`project-groups repo`](#project-groups-repo)
17
+ - [`project-groups import`](#project-groups-import)
18
+ - [`project-groups follow`](#project-groups-follow)
19
+ - [`project-groups unfollow`](#project-groups-unfollow)
20
+ - [`project-groups routes`](#project-groups-routes)
21
+ - [`project-groups vars`](#project-groups-vars)
22
+
7
23
  ## `project-groups` (alias: `pg`)
8
24
 
9
25
  Manage Projects (what the console calls a Project): groups of services that ship together and share a repository, variables and path routes. A service is what the `projects` command manages; the `services` command manages databases and caches, not these.
@@ -40,6 +56,8 @@ List projects (groups) and their services
40
56
 
41
57
  Show a project (group), by slug or id
42
58
 
59
+ **Usage:** `project-groups show <group> [options]`
60
+
43
61
  **Options:**
44
62
 
45
63
  | Flag | Description | Default | Required |
@@ -64,6 +82,8 @@ Create a project (group), optionally with services
64
82
 
65
83
  Rename a project (group) or change its description
66
84
 
85
+ **Usage:** `project-groups update <group> [options]`
86
+
67
87
  **Options:**
68
88
 
69
89
  | Flag | Description | Default | Required |
@@ -77,6 +97,8 @@ Rename a project (group) or change its description
77
97
 
78
98
  Delete a project (group); its services keep running as standalone services
79
99
 
100
+ **Usage:** `project-groups delete <group> [options]`
101
+
80
102
  **Options:**
81
103
 
82
104
  | Flag | Description | Default | Required |
@@ -87,10 +109,14 @@ Delete a project (group); its services keep running as standalone services
87
109
 
88
110
  Add services to a project (group), by slug or id as listed by `projects list`; moves them out of any other project
89
111
 
112
+ **Usage:** `project-groups add <group> <services...>`
113
+
90
114
  ### `project-groups remove`
91
115
 
92
116
  Remove a service (slug or id) from a project (group); it becomes a standalone service
93
117
 
118
+ **Usage:** `project-groups remove <group> <service>`
119
+
94
120
  ### `project-groups repo`
95
121
 
96
122
  The repository a project deploys its services from (monorepos)
@@ -105,6 +131,8 @@ The repository a project deploys its services from (monorepos)
105
131
 
106
132
  Show the project's repository and which services follow it
107
133
 
134
+ **Usage:** `project-groups repo show <group> [options]`
135
+
108
136
  **Options:**
109
137
 
110
138
  | Flag | Description | Default | Required |
@@ -115,13 +143,15 @@ Show the project's repository and which services follow it
115
143
 
116
144
  Point the project at a repository and branch; services that follow it are updated to match
117
145
 
146
+ **Usage:** `project-groups repo set <group> [options]`
147
+
118
148
  **Options:**
119
149
 
120
150
  | Flag | Description | Default | Required |
121
151
  |------|-------------|---------|----------|
122
152
  | `-c, --connection <id>` | Git connection id (see: git-providers / connections) | - | No |
123
153
  | `--public <provider>` | Use a public repository without a connection: github or gitlab | - | No |
124
- | `-r, --repo <owner/name|url>` | Repository, e.g. acme/shop; a github.com/gitlab.com URL implies --public | - | Yes |
154
+ | `-r, --repo <owner/name\|url>` | Repository, e.g. acme/shop; a github.com/gitlab.com URL implies --public | - | Yes |
125
155
  | `-b, --branch <branch>` | Branch to deploy from, e.g. main | - | Yes |
126
156
  | `--json` | Output in JSON format | - | No |
127
157
 
@@ -129,6 +159,8 @@ Point the project at a repository and branch; services that follow it are update
129
159
 
130
160
  Remove the repository; services keep their current settings and stop following
131
161
 
162
+ **Usage:** `project-groups repo unset <group> [options]`
163
+
132
164
  **Options:**
133
165
 
134
166
  | Flag | Description | Default | Required |
@@ -139,6 +171,8 @@ Remove the repository; services keep their current settings and stop following
139
171
 
140
172
  Scan the project's repository and add its apps as services that follow it
141
173
 
174
+ **Usage:** `project-groups import <group> [options]`
175
+
142
176
  **Options:**
143
177
 
144
178
  | Flag | Description | Default | Required |
@@ -146,16 +180,22 @@ Scan the project's repository and add its apps as services that follow it
146
180
  | `-p, --path <dir...>` | Only these app directories (default: every app without a service) | - | No |
147
181
  | `--dry-run` | List what would be created without creating anything | - | No |
148
182
  | `--timeout <minutes>` | Stop waiting after this long (default 30); the import keeps running on the server | - | No |
183
+ | `--fresh` | Scan a public repository again instead of using the cached scan | - | No |
184
+ | `--base-url <url>` | HTTPS origin of the self-hosted GitLab a public repository lives on | - | No |
149
185
  | `--json` | Output in JSON format | - | No |
150
186
 
151
187
  ### `project-groups follow`
152
188
 
153
189
  Make a service follow the project's repository and branch (keeps its directory)
154
190
 
191
+ **Usage:** `project-groups follow <group> <service>`
192
+
155
193
  ### `project-groups unfollow`
156
194
 
157
195
  Stop a service following the project's repository; it keeps its current settings
158
196
 
197
+ **Usage:** `project-groups unfollow <group> <service>`
198
+
159
199
  ### `project-groups routes`
160
200
 
161
201
  Serve a path of one service's domains from another service (e.g. /api → backend)
@@ -170,6 +210,8 @@ Serve a path of one service's domains from another service (e.g. /api → backen
170
210
 
171
211
  List path routes and how each applies per environment
172
212
 
213
+ **Usage:** `project-groups routes list <group> [options]`
214
+
173
215
  **Options:**
174
216
 
175
217
  | Flag | Description | Default | Required |
@@ -180,6 +222,8 @@ List path routes and how each applies per environment
180
222
 
181
223
  Send requests under <prefix> on <source>'s domains to <target>, e.g. `routes add shop web /api api`
182
224
 
225
+ **Usage:** `project-groups routes add <group> <source> <prefix> <target> [options]`
226
+
183
227
  **Options:**
184
228
 
185
229
  | Flag | Description | Default | Required |
@@ -191,6 +235,8 @@ Send requests under <prefix> on <source>'s domains to <target>, e.g. `routes add
191
235
 
192
236
  Stop routing <prefix>; <source> serves it itself again
193
237
 
238
+ **Usage:** `project-groups routes remove <group> <source> <prefix> [options]`
239
+
194
240
  **Options:**
195
241
 
196
242
  | Flag | Description | Default | Required |
@@ -203,15 +249,30 @@ Variables shared by every service in a project (group)
203
249
 
204
250
  **Subcommands:**
205
251
 
252
+ - `get` - Show one shared variable (a secret value is never shown)
206
253
  - `list` (`ls`) - List shared variables (secret values are never shown)
207
- - `set` - Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or pass --value-stdin to pipe it (keeps secrets out of shell history)
254
+ - `set` - Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or read it with --value-file or --value-stdin (keeps secrets out of shell history)
208
255
  - `inherited` - Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
209
256
  - `unset` - Remove a shared variable
210
257
 
258
+ #### `project-groups vars get`
259
+
260
+ Show one shared variable (a secret value is never shown)
261
+
262
+ **Usage:** `project-groups vars get <group-id> <var-id> [options]`
263
+
264
+ **Options:**
265
+
266
+ | Flag | Description | Default | Required |
267
+ |------|-------------|---------|----------|
268
+ | `--json` | Output in JSON format | - | No |
269
+
211
270
  #### `project-groups vars list` (alias: `ls`)
212
271
 
213
272
  List shared variables (secret values are never shown)
214
273
 
274
+ **Usage:** `project-groups vars list <group> [options]`
275
+
215
276
  **Options:**
216
277
 
217
278
  | Flag | Description | Default | Required |
@@ -220,7 +281,9 @@ List shared variables (secret values are never shown)
220
281
 
221
282
  #### `project-groups vars set`
222
283
 
223
- Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or pass --value-stdin to pipe it (keeps secrets out of shell history)
284
+ Create or update a shared variable; a service's own variable still wins. Omit the value to type it at a hidden prompt, or read it with --value-file or --value-stdin (keeps secrets out of shell history)
285
+
286
+ **Usage:** `project-groups vars set <group> <key> [value] [options]`
224
287
 
225
288
  **Options:**
226
289
 
@@ -228,7 +291,8 @@ Create or update a shared variable; a service's own variable still wins. Omit th
228
291
  |------|-------------|---------|----------|
229
292
  | `-e, --environment <slug>` | Only this environment (e.g. production); default: all | - | No |
230
293
  | `--secret` | Write-only: the value can never be read back | - | No |
231
- | `--value-stdin` | Read the value from stdin, e.g. `cat key.pem \| ... vars set shop TLS_KEY --secret --value-stdin` | - | No |
294
+ | `--value-file <path>` | Read the value from a file (- reads stdin), minus one final newline | - | No |
295
+ | `--value-stdin` | Read the value from stdin, minus one final newline, e.g. `cat key.pem \| ... vars set shop TLS_KEY --secret --value-stdin` | - | No |
232
296
  | `--preview` | Also send an all-environments variable to preview deployments (off by default) | - | No |
233
297
  | `--no-preview` | Do not send it to preview deployments | - | No |
234
298
  | `--json` | Output in JSON format | - | No |
@@ -237,6 +301,8 @@ Create or update a shared variable; a service's own variable still wins. Omit th
237
301
 
238
302
  Show the shared variables a service (slug or id) receives from its project, and which of them the service's own variables override
239
303
 
304
+ **Usage:** `project-groups vars inherited <service> [options]`
305
+
240
306
  **Options:**
241
307
 
242
308
  | Flag | Description | Default | Required |
@@ -247,6 +313,8 @@ Show the shared variables a service (slug or id) receives from its project, and
247
313
 
248
314
  Remove a shared variable
249
315
 
316
+ **Usage:** `project-groups vars unset <group> <key> [options]`
317
+
250
318
  **Options:**
251
319
 
252
320
  | Flag | Description | Default | Required |