@processfocus/cli 0.1.0-next.1 → 0.1.0-next.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.
- package/README.md +82 -699
- package/dist/bundle-organisation.mjs +2 -0
- package/dist/bundled-db-import.mjs +103 -120
- package/dist/bundled-graphql-schema.mjs +17 -15
- package/dist/command-reference.md +571 -0
- package/dist/main.mjs +325 -313
- package/dist/pfcli.usage.kdl +377 -0
- package/dist/prepare-deployment-artifact.mjs +2 -2
- package/dist/resources/cedar/policies.cedar +80 -38
- package/dist/resources/cedar/schema.cedarschema +39 -21
- package/dist/resources/system-migrations/20260925020504_panoramic_klaw/migration.sql +1 -0
- package/dist/resources/system-migrations/20260925020504_panoramic_klaw/snapshot.json +7708 -0
- package/dist/resources/system-migrations/20261013060336_pretty_mulholland_black/migration.sql +14 -0
- package/dist/resources/system-migrations/20261013060336_pretty_mulholland_black/snapshot.json +7852 -0
- package/dist/resources/system-migrations/20261019050118_aberrant_jetstream/migration.sql +4 -0
- package/dist/resources/system-migrations/20261019050118_aberrant_jetstream/snapshot.json +7908 -0
- package/dist/resources/system-migrations/20261023074259_previous_falcon/migration.sql +1 -0
- package/dist/resources/system-migrations/20261023074259_previous_falcon/snapshot.json +7918 -0
- package/dist/resources/system-migrations/20261023211931_black_vision/migration.sql +1 -0
- package/dist/resources/system-migrations/20261023211931_black_vision/snapshot.json +7928 -0
- package/dist/resources/system-migrations/20261024022040_magenta_dreaming_celestial/migration.sql +4 -0
- package/dist/resources/system-migrations/20261024022040_magenta_dreaming_celestial/snapshot.json +7968 -0
- package/dist/resources/system-migrations/20261025201326_confused_mordo/migration.sql +25 -0
- package/dist/resources/system-migrations/20261025201326_confused_mordo/snapshot.json +8141 -0
- package/dist/resources/system-migrations/20261025225809_pink_mysterio/migration.sql +20 -0
- package/dist/resources/system-migrations/20261025225809_pink_mysterio/snapshot.json +8350 -0
- package/dist/resources/system-migrations/20261030073445_fuzzy_patriot/migration.sql +1 -0
- package/dist/resources/system-migrations/20261030073445_fuzzy_patriot/snapshot.json +8360 -0
- package/dist/resources/system-migrations/20261101232313_curved_siren/migration.sql +3 -0
- package/dist/resources/system-migrations/20261101232313_curved_siren/snapshot.json +8390 -0
- package/dist/resources/system-migrations/20261111225459_real_overlord/migration.sql +13 -0
- package/dist/resources/system-migrations/20261111225459_real_overlord/snapshot.json +8511 -0
- package/dist/resources/system-migrations/20261112002154_fresh_mikhail_rasputin/migration.sql +1 -0
- package/dist/resources/system-migrations/20261112002154_fresh_mikhail_rasputin/snapshot.json +8501 -0
- package/dist/resources/system-migrations/20261116032801_numerous_taskmaster/migration.sql +1 -0
- package/dist/resources/system-migrations/20261116032801_numerous_taskmaster/snapshot.json +8511 -0
- package/dist/resources/system-migrations/20261119201444_settings-login-audit-index/migration.sql +3 -0
- package/dist/resources/system-migrations/20261119201444_settings-login-audit-index/snapshot.json +8511 -0
- package/dist/resources/system-migrations/20261119223342_lucky_lester/migration.sql +3 -0
- package/dist/resources/system-migrations/20261119223342_lucky_lester/snapshot.json +8367 -0
- package/dist/resources/system-migrations/20261123050259_sad_dagger/migration.sql +1 -0
- package/dist/resources/system-migrations/20261123050259_sad_dagger/snapshot.json +8377 -0
- package/package.json +11 -9
|
@@ -0,0 +1,571 @@
|
|
|
1
|
+
# pfcli command reference
|
|
2
|
+
|
|
3
|
+
Generated from the CLI's command declarations. Start with the
|
|
4
|
+
[README](../README.md) for an overview, or use `pfcli <command> --help`.
|
|
5
|
+
Shell completions are available through `pfcli --completions bash`
|
|
6
|
+
(also `zsh`, `fish` and `powershell`).
|
|
7
|
+
|
|
8
|
+
## Common options
|
|
9
|
+
|
|
10
|
+
These runner options are available on every command but are omitted from the
|
|
11
|
+
generated syntax:
|
|
12
|
+
|
|
13
|
+
| Option | Use |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| `--help`, `-h` | Show command help. |
|
|
16
|
+
| `--version`, `-v` | Print the installed version. |
|
|
17
|
+
| `--wizard` | Collect arguments interactively, then run the command. |
|
|
18
|
+
| `--completions` | Print completions for `bash`, `zsh`, `fish` or `powershell` (aliases `sh`, `pwsh`). |
|
|
19
|
+
| `--log-level` | Choose `all`, `trace`, `debug`, `info`, `warn`, `warning`, `error`, `fatal` or `none`. |
|
|
20
|
+
|
|
21
|
+
## Reading this reference
|
|
22
|
+
|
|
23
|
+
The generated syntax describes arguments and flags. Some requirements are
|
|
24
|
+
checked when the command runs:
|
|
25
|
+
|
|
26
|
+
- `init` needs at least one `--identity-provider`.
|
|
27
|
+
- Hosted deployment, log and database commands need both `--project` and `--env`.
|
|
28
|
+
- `destroy` needs `--yes`; `db upload` needs a file; `db rollback` needs a timestamp.
|
|
29
|
+
- `config set` accepts `KEY`, `KEY=VALUE` or `KEY VALUE`. `KEY` reads the
|
|
30
|
+
exported environment variable.
|
|
31
|
+
- Commands with local and hosted modes cannot combine local database options
|
|
32
|
+
with `--project`/`--env`.
|
|
33
|
+
|
|
34
|
+
Where supported, `PF_ORG` supplies an omitted organisation path even if the
|
|
35
|
+
generated syntax marks it required. A rollback timestamp without a timezone
|
|
36
|
+
uses the terminal's local timezone.
|
|
37
|
+
|
|
38
|
+
## Generated command syntax
|
|
39
|
+
|
|
40
|
+
<!-- @generated by usage-cli from usage spec -->
|
|
41
|
+
# `pfcli`
|
|
42
|
+
- **Version:** 0.1.0-next.3
|
|
43
|
+
|
|
44
|
+
Process Focus CLI Tool
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **Usage:** `pfcli [SUBCOMMAND]`
|
|
48
|
+
|
|
49
|
+
## `pfcli init`
|
|
50
|
+
|
|
51
|
+
- **Usage:** `pfcli init [--identity-provider <choice>] <--email <string>> <org-path>`
|
|
52
|
+
|
|
53
|
+
Initialise a new organisation directory with template files and auth scaffolding
|
|
54
|
+
|
|
55
|
+
### Arguments
|
|
56
|
+
- **`<org-path>`** — Path to the organisation directory (or PF_ORG)
|
|
57
|
+
|
|
58
|
+
### Flags
|
|
59
|
+
- **`--identity-provider <choice>`** — Identity provider to scaffold (repeatable: google, github, microsoft, apple, discord, spotify, slack, linkedin, twitch, yahoo, x, keycloak, cognito, jumpcloud, facebook)
|
|
60
|
+
|
|
61
|
+
**Choices:** `google`, `github`, `microsoft`, `apple`, `discord`, `spotify`, `slack`, `linkedin`, `twitch`, `yahoo`, `x`, `keycloak`, `cognito`, `jumpcloud`, `facebook`
|
|
62
|
+
- **`--email <string>`** — Admin email used for the scaffolded invitation and Cedar policy
|
|
63
|
+
|
|
64
|
+
## `pfcli import`
|
|
65
|
+
|
|
66
|
+
- **Usage:** `pfcli import [FLAGS] <org-path>`
|
|
67
|
+
|
|
68
|
+
Import organisation to SQLite database (uses PF_ORG, SQLITE_DATABASE_PATH, or $org-path/db/pf.db)
|
|
69
|
+
|
|
70
|
+
### Arguments
|
|
71
|
+
- **`<org-path>`** — Path to the organisation directory (or PF_ORG)
|
|
72
|
+
|
|
73
|
+
### Flags
|
|
74
|
+
- **`--watch`** — Run an experimental watched import loop with debounce, timing and recovery
|
|
75
|
+
|
|
76
|
+
**Default:** `false`
|
|
77
|
+
- **`--watch-skip-initial`** — Start watch mode without its initial import after a separate bootstrap import has completed
|
|
78
|
+
|
|
79
|
+
**Default:** `false`
|
|
80
|
+
- **`--database-path <string>`** — Database path (overrides SQLITE_DATABASE_PATH; not available with --project/--env)
|
|
81
|
+
- **`--issuer-url <string>`** — Frontend JWT issuer URL (overrides OAUTH_ISSUER_URL)
|
|
82
|
+
|
|
83
|
+
## `pfcli build`
|
|
84
|
+
|
|
85
|
+
- **Usage:** `pfcli build [-o --output <string>] <org-path>`
|
|
86
|
+
|
|
87
|
+
Build organisation artifacts (bundled JS, GraphQL schema, Cedar policies)
|
|
88
|
+
|
|
89
|
+
### Arguments
|
|
90
|
+
- **`<org-path>`** — Path to the organisation directory
|
|
91
|
+
|
|
92
|
+
### Flags
|
|
93
|
+
- **`-o --output <string>`** — Output directory for build artifacts
|
|
94
|
+
|
|
95
|
+
**Default:** `dist`
|
|
96
|
+
|
|
97
|
+
## `pfcli projects`
|
|
98
|
+
|
|
99
|
+
- **Usage:** `pfcli projects`
|
|
100
|
+
|
|
101
|
+
List projects in the Backend environment (tab-separated: number, name)
|
|
102
|
+
|
|
103
|
+
## `pfcli project`
|
|
104
|
+
|
|
105
|
+
- **Usage:** `pfcli project [SUBCOMMAND]`
|
|
106
|
+
|
|
107
|
+
Manage projects
|
|
108
|
+
|
|
109
|
+
## `pfcli project create`
|
|
110
|
+
|
|
111
|
+
- **Usage:** `pfcli project create <--name <string>> <--region <string>>`
|
|
112
|
+
|
|
113
|
+
Create a project and wait for its project-number receipt
|
|
114
|
+
|
|
115
|
+
### Flags
|
|
116
|
+
- **`--name <string>`**
|
|
117
|
+
- **`--region <string>`**
|
|
118
|
+
|
|
119
|
+
## `pfcli workload`
|
|
120
|
+
|
|
121
|
+
- **Usage:** `pfcli workload [SUBCOMMAND]`
|
|
122
|
+
|
|
123
|
+
Manage OIDC federation registrations for GitHub Actions
|
|
124
|
+
|
|
125
|
+
## `pfcli workload list`
|
|
126
|
+
|
|
127
|
+
- **Usage:** `pfcli workload list <--project <string>> [--client-id <string>]`
|
|
128
|
+
|
|
129
|
+
### Flags
|
|
130
|
+
- **`--project <string>`**
|
|
131
|
+
- **`--client-id <string>`**
|
|
132
|
+
|
|
133
|
+
## `pfcli workload save`
|
|
134
|
+
|
|
135
|
+
- **Usage:** `pfcli workload save <FLAGS>`
|
|
136
|
+
|
|
137
|
+
### Flags
|
|
138
|
+
- **`--project <string>`**
|
|
139
|
+
- **`--client-id <string>`**
|
|
140
|
+
- **`--name <string>`**
|
|
141
|
+
- **`--repository <string>`**
|
|
142
|
+
- **`--branch <string>`**
|
|
143
|
+
- **`--workflow <string>`**
|
|
144
|
+
- **`--environment <string>`** — GitHub Environment name; omit for jobs without an environment (also clears the setting on edits)
|
|
145
|
+
- **`--permissions <string>`** — Comma-separated deploy,create-environment,destroy-environment,database-download,database-upload
|
|
146
|
+
- **`--disabled`**
|
|
147
|
+
|
|
148
|
+
**Default:** `false`
|
|
149
|
+
- **`--events <string>`**
|
|
150
|
+
|
|
151
|
+
**Default:** `push,workflow_dispatch`
|
|
152
|
+
|
|
153
|
+
## `pfcli workload remove`
|
|
154
|
+
|
|
155
|
+
- **Usage:** `pfcli workload remove <--project <string>> <--client-id <string>>`
|
|
156
|
+
|
|
157
|
+
### Flags
|
|
158
|
+
- **`--project <string>`**
|
|
159
|
+
- **`--client-id <string>`**
|
|
160
|
+
|
|
161
|
+
## `pfcli workload enroll`
|
|
162
|
+
|
|
163
|
+
- **Usage:** `pfcli workload enroll`
|
|
164
|
+
|
|
165
|
+
Enroll federated identity
|
|
166
|
+
|
|
167
|
+
## `pfcli deploy`
|
|
168
|
+
|
|
169
|
+
- **Usage:** `pfcli deploy [FLAGS] <org-path> [SUBCOMMAND]`
|
|
170
|
+
|
|
171
|
+
Build and deploy an organisation. Ctrl-C stops waiting, not deployment. Use deploy status before retrying.
|
|
172
|
+
|
|
173
|
+
### Arguments
|
|
174
|
+
- **`<org-path>`** — Path to the organisation directory
|
|
175
|
+
|
|
176
|
+
### Flags
|
|
177
|
+
- **`--project <string>`** — Project number (or internal ID) to deploy
|
|
178
|
+
- **`--env <string>`** — Environment name to deploy to
|
|
179
|
+
- **`--no-wait`** — Return after starting the deployment without waiting
|
|
180
|
+
|
|
181
|
+
**Default:** `false`
|
|
182
|
+
- **`--execution-id <string>`** — Persisted execution identity for automation receipt reconciliation
|
|
183
|
+
- **`--wait-timeout-ms <int>`** — Positive deployment inactivity timeout in milliseconds (overrides PFCLI_DEPLOY_WAIT_TIMEOUT_MS; incompatible with --no-wait)
|
|
184
|
+
|
|
185
|
+
## `pfcli deploy status`
|
|
186
|
+
|
|
187
|
+
- **Usage:** `pfcli deploy status <--project <string>> <--env <string>>`
|
|
188
|
+
|
|
189
|
+
Check the active Backend deployment without starting one
|
|
190
|
+
|
|
191
|
+
### Flags
|
|
192
|
+
- **`--project <string>`**
|
|
193
|
+
- **`--env <string>`**
|
|
194
|
+
|
|
195
|
+
## `pfcli destroy`
|
|
196
|
+
|
|
197
|
+
- **Usage:** `pfcli destroy [FLAGS]`
|
|
198
|
+
|
|
199
|
+
Destroy a hosted project environment and wait for completion by default
|
|
200
|
+
|
|
201
|
+
### Flags
|
|
202
|
+
- **`--project <string>`** — Project number (or internal ID) to destroy from
|
|
203
|
+
- **`--env <string>`** — Environment name (or internal ID) to destroy
|
|
204
|
+
- **`--yes`** — Confirm deletion of the environment's AWS stacks and environment record
|
|
205
|
+
|
|
206
|
+
**Default:** `false`
|
|
207
|
+
- **`--no-wait`** — Return after starting destruction without waiting
|
|
208
|
+
|
|
209
|
+
**Default:** `false`
|
|
210
|
+
- **`--execution-id <string>`** — Persisted execution identity for automation receipt reconciliation
|
|
211
|
+
|
|
212
|
+
## `pfcli logs`
|
|
213
|
+
|
|
214
|
+
- **Usage:** `pfcli logs [--project <string>] [--env <string>]`
|
|
215
|
+
|
|
216
|
+
Show recent primary runtime logs
|
|
217
|
+
|
|
218
|
+
### Flags
|
|
219
|
+
- **`--project <string>`** — Project number (or internal ID) whose runtime logs to read
|
|
220
|
+
- **`--env <string>`** — Environment name whose runtime logs to read
|
|
221
|
+
|
|
222
|
+
## `pfcli canary-logs`
|
|
223
|
+
|
|
224
|
+
- **Usage:** `pfcli canary-logs [--project <string>] [--env <string>]`
|
|
225
|
+
|
|
226
|
+
Show recent canary runtime logs
|
|
227
|
+
|
|
228
|
+
### Flags
|
|
229
|
+
- **`--project <string>`** — Project number (or internal ID) whose runtime logs to read
|
|
230
|
+
- **`--env <string>`** — Environment name whose runtime logs to read
|
|
231
|
+
|
|
232
|
+
## `pfcli db`
|
|
233
|
+
|
|
234
|
+
- **Usage:** `pfcli db [SUBCOMMAND]`
|
|
235
|
+
|
|
236
|
+
Database commands
|
|
237
|
+
|
|
238
|
+
## `pfcli db rollback`
|
|
239
|
+
|
|
240
|
+
- **Usage:** `pfcli db rollback [FLAGS]`
|
|
241
|
+
|
|
242
|
+
Start a database rollback preparation process and wait for completion by default
|
|
243
|
+
|
|
244
|
+
### Flags
|
|
245
|
+
- **`--project <string>`** — Project number (or internal ID) to roll back
|
|
246
|
+
- **`--env <string>`** — Environment name to roll back
|
|
247
|
+
- **`--timestamp <string>`** — RFC3339 / ISO-8601 rollback timestamp; if no timezone is supplied, the local terminal timezone is used (for example 2026-04-16T18:00:00)
|
|
248
|
+
- **`--no-wait`** — Return after starting the rollback without waiting
|
|
249
|
+
|
|
250
|
+
**Default:** `false`
|
|
251
|
+
|
|
252
|
+
## `pfcli db download`
|
|
253
|
+
|
|
254
|
+
- **Usage:** `pfcli db download [FLAGS]`
|
|
255
|
+
|
|
256
|
+
Download a hosted environment database to a local path
|
|
257
|
+
|
|
258
|
+
### Flags
|
|
259
|
+
- **`--project <string>`** — Project number (or internal ID) to download from
|
|
260
|
+
- **`--env <string>`** — Environment name to download from
|
|
261
|
+
- **`--output <string>`** — Output SQLite file path
|
|
262
|
+
|
|
263
|
+
## `pfcli db upload`
|
|
264
|
+
|
|
265
|
+
- **Usage:** `pfcli db upload [FLAGS] [sqlite-file]`
|
|
266
|
+
|
|
267
|
+
Upload and apply a local SQLite database through a signed document-store URL
|
|
268
|
+
|
|
269
|
+
### Arguments
|
|
270
|
+
- **`[sqlite-file]`** — Local SQLite database file to upload
|
|
271
|
+
|
|
272
|
+
### Flags
|
|
273
|
+
- **`--project <string>`** — Project number (or internal ID) to upload to
|
|
274
|
+
- **`--env <string>`** — Environment name to upload to
|
|
275
|
+
- **`--mode <choice>`** — Upload mode: preserve destination authentication identity (data-copy) or restore all database state (exact-restore)
|
|
276
|
+
|
|
277
|
+
**Choices:** `data-copy`, `exact-restore`
|
|
278
|
+
|
|
279
|
+
**Default:** `data-copy`
|
|
280
|
+
|
|
281
|
+
## `pfcli db shell`
|
|
282
|
+
|
|
283
|
+
- **Usage:** `pfcli db shell [FLAGS]`
|
|
284
|
+
|
|
285
|
+
Open an interactive Turso shell for a hosted environment database
|
|
286
|
+
|
|
287
|
+
### Flags
|
|
288
|
+
- **`--project <string>`** — Project number (or internal ID) to open a database shell for
|
|
289
|
+
- **`--env <string>`** — Environment name to open a database shell for
|
|
290
|
+
- **`--ttl <string>`** — Database Shell session TTL; bare numbers are seconds, for example "900", "15m", or "1h"
|
|
291
|
+
|
|
292
|
+
## `pfcli custom-domain`
|
|
293
|
+
|
|
294
|
+
- **Usage:** `pfcli custom-domain <--project <string>> <--env <string>>`
|
|
295
|
+
|
|
296
|
+
Show custom-domain certificate status and required DNS records
|
|
297
|
+
|
|
298
|
+
### Flags
|
|
299
|
+
- **`--project <string>`** — Project number or internal ID
|
|
300
|
+
- **`--env <string>`** — Environment name
|
|
301
|
+
|
|
302
|
+
## `pfcli migrate`
|
|
303
|
+
|
|
304
|
+
- **Usage:** `pfcli migrate [--database-path <string>] <org-path>`
|
|
305
|
+
|
|
306
|
+
Run system and org schema migrations (uses SQLITE_DATABASE_PATH or $org-path/db/pf.db)
|
|
307
|
+
|
|
308
|
+
### Arguments
|
|
309
|
+
- **`<org-path>`** — Path to the organisation directory
|
|
310
|
+
|
|
311
|
+
### Flags
|
|
312
|
+
- **`--database-path <string>`** — Database path (overrides SQLITE_DATABASE_PATH; not available with --project/--env)
|
|
313
|
+
|
|
314
|
+
## `pfcli migrate-custom`
|
|
315
|
+
|
|
316
|
+
- **Usage:** `pfcli migrate-custom [--database-path <string>] <org-path>`
|
|
317
|
+
|
|
318
|
+
Run custom schema migrations for organisation (uses SQLITE_DATABASE_PATH or $org-path/db/pf.db)
|
|
319
|
+
|
|
320
|
+
### Arguments
|
|
321
|
+
- **`<org-path>`** — Path to the organisation directory
|
|
322
|
+
|
|
323
|
+
### Flags
|
|
324
|
+
- **`--database-path <string>`** — Database path (overrides SQLITE_DATABASE_PATH; not available with --project/--env)
|
|
325
|
+
|
|
326
|
+
## `pfcli get-frontend-jwt`
|
|
327
|
+
|
|
328
|
+
- **Usage:** `pfcli get-frontend-jwt [--database-path <string>] <org-path>`
|
|
329
|
+
|
|
330
|
+
Output the stored frontend JWT token (created during import)
|
|
331
|
+
|
|
332
|
+
### Arguments
|
|
333
|
+
- **`<org-path>`** — Path to the organisation directory (or PF_ORG)
|
|
334
|
+
|
|
335
|
+
### Flags
|
|
336
|
+
- **`--database-path <string>`** — Database path (overrides SQLITE_DATABASE_PATH; not available with --project/--env)
|
|
337
|
+
|
|
338
|
+
## `pfcli refresh-frontend-jwt`
|
|
339
|
+
|
|
340
|
+
- **Usage:** `pfcli refresh-frontend-jwt [--database-path <string>] [--issuer-url <string>] <org-path>`
|
|
341
|
+
|
|
342
|
+
Regenerate the frontend JWT token with the current issuer URL and signing keys
|
|
343
|
+
|
|
344
|
+
### Arguments
|
|
345
|
+
- **`<org-path>`** — Path to the organisation directory (or PF_ORG)
|
|
346
|
+
|
|
347
|
+
### Flags
|
|
348
|
+
- **`--database-path <string>`** — Database path (overrides SQLITE_DATABASE_PATH; not available with --project/--env)
|
|
349
|
+
- **`--issuer-url <string>`** — Frontend JWT issuer URL (overrides OAUTH_ISSUER_URL)
|
|
350
|
+
|
|
351
|
+
## `pfcli config`
|
|
352
|
+
|
|
353
|
+
- **Usage:** `pfcli config [SUBCOMMAND]`
|
|
354
|
+
|
|
355
|
+
Manage SSM configuration parameters
|
|
356
|
+
|
|
357
|
+
## `pfcli config list`
|
|
358
|
+
|
|
359
|
+
- **Usage:** `pfcli config list <--project <string>> <--stage <string>>`
|
|
360
|
+
|
|
361
|
+
List all config parameters for a project and stage
|
|
362
|
+
|
|
363
|
+
### Flags
|
|
364
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
365
|
+
- **`--stage <string>`** — Stage name
|
|
366
|
+
|
|
367
|
+
## `pfcli config get`
|
|
368
|
+
|
|
369
|
+
- **Usage:** `pfcli config get <--project <string>> <--stage <string>> <key>`
|
|
370
|
+
|
|
371
|
+
Get a config parameter value
|
|
372
|
+
|
|
373
|
+
### Arguments
|
|
374
|
+
- **`<key>`** — Configuration parameter name
|
|
375
|
+
|
|
376
|
+
### Flags
|
|
377
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
378
|
+
- **`--stage <string>`** — Stage name
|
|
379
|
+
|
|
380
|
+
## `pfcli config set`
|
|
381
|
+
|
|
382
|
+
- **Usage:** `pfcli config set <FLAGS> [assignment]…`
|
|
383
|
+
|
|
384
|
+
Set a config parameter value
|
|
385
|
+
|
|
386
|
+
### Arguments
|
|
387
|
+
- **`[assignment]…`** — One of KEY, KEY=VALUE, or KEY VALUE
|
|
388
|
+
|
|
389
|
+
### Flags
|
|
390
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
391
|
+
- **`--stage <string>`** — Stage name
|
|
392
|
+
- **`--secret`** — Store as a secret (SecureString in SSM)
|
|
393
|
+
|
|
394
|
+
**Default:** `false`
|
|
395
|
+
|
|
396
|
+
## `pfcli config delete`
|
|
397
|
+
|
|
398
|
+
- **Usage:** `pfcli config delete <--project <string>> <--stage <string>> <key>`
|
|
399
|
+
|
|
400
|
+
Delete a config parameter
|
|
401
|
+
|
|
402
|
+
### Arguments
|
|
403
|
+
- **`<key>`** — Configuration parameter name
|
|
404
|
+
|
|
405
|
+
### Flags
|
|
406
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
407
|
+
- **`--stage <string>`** — Stage name
|
|
408
|
+
|
|
409
|
+
## `pfcli config copy-new`
|
|
410
|
+
|
|
411
|
+
- **Usage:** `pfcli config copy-new <FLAGS>`
|
|
412
|
+
|
|
413
|
+
Copy only missing config parameters from another stage
|
|
414
|
+
|
|
415
|
+
### Flags
|
|
416
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
417
|
+
- **`--stage <string>`** — Stage name
|
|
418
|
+
- **`--from-stage <string>`** — Source stage name
|
|
419
|
+
|
|
420
|
+
## `pfcli stage`
|
|
421
|
+
|
|
422
|
+
- **Usage:** `pfcli stage [SUBCOMMAND]`
|
|
423
|
+
|
|
424
|
+
Manage project stages
|
|
425
|
+
|
|
426
|
+
## `pfcli stage list`
|
|
427
|
+
|
|
428
|
+
- **Usage:** `pfcli stage list <--project <string>>`
|
|
429
|
+
|
|
430
|
+
List stages in a project
|
|
431
|
+
|
|
432
|
+
### Flags
|
|
433
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
434
|
+
|
|
435
|
+
## `pfcli stage add`
|
|
436
|
+
|
|
437
|
+
- **Usage:** `pfcli stage add <--project <string>> <stage-name>`
|
|
438
|
+
|
|
439
|
+
Add a stage to a project
|
|
440
|
+
|
|
441
|
+
### Arguments
|
|
442
|
+
- **`<stage-name>`** — Stage name to create
|
|
443
|
+
|
|
444
|
+
### Flags
|
|
445
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
446
|
+
|
|
447
|
+
## `pfcli env`
|
|
448
|
+
|
|
449
|
+
- **Usage:** `pfcli env [SUBCOMMAND]`
|
|
450
|
+
|
|
451
|
+
Manage project environments
|
|
452
|
+
|
|
453
|
+
## `pfcli env list`
|
|
454
|
+
|
|
455
|
+
- **Usage:** `pfcli env list <--project <string>> [--stage <string>]`
|
|
456
|
+
|
|
457
|
+
List environments in a project
|
|
458
|
+
|
|
459
|
+
### Flags
|
|
460
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
461
|
+
- **`--stage <string>`** — Stage name
|
|
462
|
+
|
|
463
|
+
## `pfcli env add`
|
|
464
|
+
|
|
465
|
+
- **Usage:** `pfcli env add <--project <string>> <--stage <string>> <env-name>`
|
|
466
|
+
|
|
467
|
+
Add an environment to a stage
|
|
468
|
+
|
|
469
|
+
### Arguments
|
|
470
|
+
- **`<env-name>`** — Environment name to create
|
|
471
|
+
|
|
472
|
+
### Flags
|
|
473
|
+
- **`--project <string>`** — Project number (or internal ID)
|
|
474
|
+
- **`--stage <string>`** — Stage name
|
|
475
|
+
|
|
476
|
+
## `pfcli auth`
|
|
477
|
+
|
|
478
|
+
- **Usage:** `pfcli auth [SUBCOMMAND]`
|
|
479
|
+
|
|
480
|
+
Authentication commands
|
|
481
|
+
|
|
482
|
+
## `pfcli auth login`
|
|
483
|
+
|
|
484
|
+
- **Usage:** `pfcli auth login [--base-url <string>]`
|
|
485
|
+
|
|
486
|
+
Login via browser-based OAuth (uses BASE_URL env var, defaults to https://console.processfocus.com)
|
|
487
|
+
|
|
488
|
+
### Flags
|
|
489
|
+
- **`--base-url <string>`** — Console HTTP(S) origin (overrides BASE_URL)
|
|
490
|
+
|
|
491
|
+
## `pfcli skills`
|
|
492
|
+
|
|
493
|
+
- **Usage:** `pfcli skills [SUBCOMMAND]`
|
|
494
|
+
|
|
495
|
+
Agent-oriented runtime skill guidance
|
|
496
|
+
|
|
497
|
+
## `pfcli skills list`
|
|
498
|
+
|
|
499
|
+
- **Usage:** `pfcli skills list`
|
|
500
|
+
|
|
501
|
+
List agent skills served by this pfcli version
|
|
502
|
+
|
|
503
|
+
## `pfcli skills get`
|
|
504
|
+
|
|
505
|
+
- **Usage:** `pfcli skills get <name>`
|
|
506
|
+
|
|
507
|
+
Print an agent skill for this pfcli version
|
|
508
|
+
|
|
509
|
+
### Arguments
|
|
510
|
+
- **`<name>`** — Skill name to print
|
|
511
|
+
|
|
512
|
+
## `pfcli grant`
|
|
513
|
+
|
|
514
|
+
- **Usage:** `pfcli grant [SUBCOMMAND]`
|
|
515
|
+
|
|
516
|
+
Grant operations
|
|
517
|
+
|
|
518
|
+
## `pfcli grant role`
|
|
519
|
+
|
|
520
|
+
- **Usage:** `pfcli grant role <FLAGS> [org-path]`
|
|
521
|
+
|
|
522
|
+
Grant a role to a provider user locally or in a remote customer environment
|
|
523
|
+
|
|
524
|
+
### Arguments
|
|
525
|
+
- **`[org-path]`** — Path to the organisation directory (local mode only)
|
|
526
|
+
|
|
527
|
+
### Flags
|
|
528
|
+
- **`--role <string>`** — Role path to grant (e.g. /Administrator)
|
|
529
|
+
- **`--user <string>`** — Email address of the provider user
|
|
530
|
+
- **`--project <string>`** — Project number or internal ID (remote mode)
|
|
531
|
+
- **`--env <string>`** — Environment name (remote mode)
|
|
532
|
+
- **`--database-path <string>`** — Database path (overrides SQLITE_DATABASE_PATH; not available with --project/--env)
|
|
533
|
+
|
|
534
|
+
## `pfcli invitation`
|
|
535
|
+
|
|
536
|
+
- **Usage:** `pfcli invitation [SUBCOMMAND]`
|
|
537
|
+
|
|
538
|
+
Invitation operations
|
|
539
|
+
|
|
540
|
+
## `pfcli invitation create`
|
|
541
|
+
|
|
542
|
+
- **Usage:** `pfcli invitation create <FLAGS> [org-path]`
|
|
543
|
+
|
|
544
|
+
Create a pending Invitation directly in a local organisation database
|
|
545
|
+
|
|
546
|
+
### Arguments
|
|
547
|
+
- **`[org-path]`** — Path to the organisation directory (local mode only)
|
|
548
|
+
|
|
549
|
+
### Flags
|
|
550
|
+
- **`--database-path <string>`** — Database path (overrides SQLITE_DATABASE_PATH; not available with --project/--env)
|
|
551
|
+
- **`--email <string>`** — Invitee email address
|
|
552
|
+
- **`--role <string>`** — Exact role path; repeat for multiple roles
|
|
553
|
+
|
|
554
|
+
## `pfcli invitation registration-link`
|
|
555
|
+
|
|
556
|
+
- **Usage:** `pfcli invitation registration-link [FLAGS] [org-path]`
|
|
557
|
+
|
|
558
|
+
Issue a Registration Link or, with --rotate, recover an existing account locally or remotely
|
|
559
|
+
|
|
560
|
+
### Arguments
|
|
561
|
+
- **`[org-path]`** — Path to the organisation directory (local mode only)
|
|
562
|
+
|
|
563
|
+
### Flags
|
|
564
|
+
- **`--project <string>`** — Project number or internal ID (remote mode)
|
|
565
|
+
- **`--env <string>`** — Environment name (remote mode)
|
|
566
|
+
- **`--email <string>`** — Normalized Email of the Invitation or existing account
|
|
567
|
+
- **`--rotate`** — Replace an active or expired Registration Link, or issue an existing account's Passkey Recovery Link
|
|
568
|
+
|
|
569
|
+
**Default:** `false`
|
|
570
|
+
- **`--database-path <string>`** — Database path (overrides SQLITE_DATABASE_PATH; not available with --project/--env)
|
|
571
|
+
- **`--frontend-url <string>`** — Local link frontend HTTP(S) origin, including port (overrides frontend URL environment variables)
|