@temps-sdk/cli 0.2.0-beta.1 → 0.2.0-beta.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 (73) hide show
  1. package/dist/index.js +104770 -87351
  2. package/dist/skills/temps/SKILL.md +6 -3
  3. package/dist/skills/temps/evals/evals.json +38 -0
  4. package/dist/skills/temps/howtos/agent-handoff.md +106 -0
  5. package/dist/skills/temps/howtos/install-temps.md +151 -0
  6. package/dist/skills/temps/references/commands/INDEX.md +7 -0
  7. package/dist/skills/temps/references/commands/agents.md +731 -0
  8. package/dist/skills/temps/references/commands/ai.md +2636 -11
  9. package/dist/skills/temps/references/commands/alarms.md +125 -0
  10. package/dist/skills/temps/references/commands/analytics.md +1001 -3
  11. package/dist/skills/temps/references/commands/apikeys.md +48 -1
  12. package/dist/skills/temps/references/commands/audit.md +1 -0
  13. package/dist/skills/temps/references/commands/backups.md +306 -0
  14. package/dist/skills/temps/references/commands/blob.md +169 -0
  15. package/dist/skills/temps/references/commands/cloud.md +59 -0
  16. package/dist/skills/temps/references/commands/cluster.md +223 -0
  17. package/dist/skills/temps/references/commands/containers.md +45 -0
  18. package/dist/skills/temps/references/commands/custom-domains.md +32 -0
  19. package/dist/skills/temps/references/commands/data.md +1 -0
  20. package/dist/skills/temps/references/commands/deploy-image.md +3 -1
  21. package/dist/skills/temps/references/commands/deploy-local-image.md +3 -0
  22. package/dist/skills/temps/references/commands/deployments.md +559 -0
  23. package/dist/skills/temps/references/commands/dns-provider.md +63 -0
  24. package/dist/skills/temps/references/commands/domains.md +104 -0
  25. package/dist/skills/temps/references/commands/email-domains.md +1 -0
  26. package/dist/skills/temps/references/commands/email-providers.md +59 -1
  27. package/dist/skills/temps/references/commands/emails.md +91 -0
  28. package/dist/skills/temps/references/commands/environments.md +483 -2
  29. package/dist/skills/temps/references/commands/errors.md +563 -3
  30. package/dist/skills/temps/references/commands/flags.md +76 -0
  31. package/dist/skills/temps/references/commands/funnels.md +22 -2
  32. package/dist/skills/temps/references/commands/incidents.md +18 -0
  33. package/dist/skills/temps/references/commands/ingress.md +26 -0
  34. package/dist/skills/temps/references/commands/ip-access.md +96 -1
  35. package/dist/skills/temps/references/commands/kv.md +184 -0
  36. package/dist/skills/temps/references/commands/load-balancer.md +2 -0
  37. package/dist/skills/temps/references/commands/login.md +4 -1
  38. package/dist/skills/temps/references/commands/logs.md +272 -0
  39. package/dist/skills/temps/references/commands/mcp.md +14 -1
  40. package/dist/skills/temps/references/commands/migrate.md +17 -0
  41. package/dist/skills/temps/references/commands/monitors.md +386 -0
  42. package/dist/skills/temps/references/commands/network-policy.md +27 -0
  43. package/dist/skills/temps/references/commands/nodes.md +155 -2
  44. package/dist/skills/temps/references/commands/notifications.md +149 -0
  45. package/dist/skills/temps/references/commands/otel.md +438 -0
  46. package/dist/skills/temps/references/commands/platform.md +64 -0
  47. package/dist/skills/temps/references/commands/plugin.md +76 -0
  48. package/dist/skills/temps/references/commands/preview-gateway.md +91 -0
  49. package/dist/skills/temps/references/commands/project-groups.md +31 -0
  50. package/dist/skills/temps/references/commands/projects.md +453 -6
  51. package/dist/skills/temps/references/commands/providers.md +519 -0
  52. package/dist/skills/temps/references/commands/proxy-logs.md +111 -0
  53. package/dist/skills/temps/references/commands/revenue.md +219 -0
  54. package/dist/skills/temps/references/commands/sandbox.md +732 -9
  55. package/dist/skills/temps/references/commands/secrets.md +3 -0
  56. package/dist/skills/temps/references/commands/server.md +107 -0
  57. package/dist/skills/temps/references/commands/services.md +831 -5
  58. package/dist/skills/temps/references/commands/settings.md +384 -0
  59. package/dist/skills/temps/references/commands/shield.md +354 -0
  60. package/dist/skills/temps/references/commands/start.md +1 -0
  61. package/dist/skills/temps/references/commands/status-pages.md +103 -3
  62. package/dist/skills/temps/references/commands/teams.md +14 -0
  63. package/dist/skills/temps/references/commands/templates.md +14 -0
  64. package/dist/skills/temps/references/commands/tokens.md +106 -0
  65. package/dist/skills/temps/references/commands/traces.md +149 -0
  66. package/dist/skills/temps/references/commands/tunnels.md +2 -0
  67. package/dist/skills/temps/references/commands/users.md +111 -0
  68. package/dist/skills/temps/references/commands/vault.md +662 -0
  69. package/dist/skills/temps/references/commands/webhooks.md +4 -0
  70. package/dist/skills/temps/references/commands/workflows.md +347 -0
  71. package/dist/skills/temps/scripts/generate_command_references.py +5 -3
  72. package/dist/skills/temps/scripts/test_generate_command_references.py +3 -1
  73. package/package.json +3 -2
@@ -15,6 +15,7 @@ Manage deployment tokens for project API access (KV, Blob, etc.)
15
15
  - `show` (`get`) - Show deployment token details
16
16
  - `delete` (`rm`) - Delete a deployment token
17
17
  - `permissions` - List available deployment token permissions
18
+ - `deployment` - Deployment commands
18
19
 
19
20
  ### `tokens list` (alias: `ls`)
20
21
 
@@ -75,3 +76,108 @@ List available deployment token permissions
75
76
  | Flag | Description | Default | Required |
76
77
  |------|-------------|---------|----------|
77
78
  | `--json` | Output in JSON format | - | No |
79
+
80
+ ### `tokens deployment`
81
+
82
+ Deployment commands
83
+
84
+ **Subcommands:**
85
+
86
+ - `list` - List all deployment tokens for a project
87
+ - `create` - Create a new deployment token for a project
88
+ - `delete` - Delete a deployment token
89
+ - `get` - Get a specific deployment token
90
+ - `update` - Update a deployment token
91
+ - `rotate` - Rotate a deployment token, invalidating its old secret and issuing a new one
92
+
93
+ #### `tokens deployment list`
94
+
95
+ List all deployment tokens for a project
96
+
97
+ **Options:**
98
+
99
+ | Flag | Description | Default | Required |
100
+ |------|-------------|---------|----------|
101
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
102
+ | `--page <n>` | Page number (default: 1) | - | No |
103
+ | `--page-size <n>` | Page size (default: 20, max: 100) | - | No |
104
+ | `--json` | Output in JSON format | - | No |
105
+
106
+ #### `tokens deployment create`
107
+
108
+ Create a new deployment token for a project
109
+
110
+ **Options:**
111
+
112
+ | Flag | Description | Default | Required |
113
+ |------|-------------|---------|----------|
114
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
115
+ | `--deployment-id <n>` | Optional deployment ID - if set, token is scoped to a specific deployment | - | No |
116
+ | `--environment-id <n>` | Optional environment ID - if not set, token applies to all environments | - | No |
117
+ | `--expires-at <value>` | Body field expires_at | - | No |
118
+ | `--name <value>` | Body field name [required] | - | No |
119
+ | `--permissions <value>` | List of permissions (e.g., ["visitors:enrich", "emails:send"]) If not provided, defaults to full access (repeatable) | - | No |
120
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
121
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
122
+ | `--json` | Output in JSON format | - | No |
123
+
124
+ #### `tokens deployment delete`
125
+
126
+ Delete a deployment token
127
+
128
+ **Usage:** `tokens deployment delete <token-id> [options]`
129
+
130
+ **Options:**
131
+
132
+ | Flag | Description | Default | Required |
133
+ |------|-------------|---------|----------|
134
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
135
+ | `-y, --yes` | Do not ask for confirmation | - | No |
136
+ | `--json` | Output in JSON format | - | No |
137
+
138
+ #### `tokens deployment get`
139
+
140
+ Get a specific deployment token
141
+
142
+ **Usage:** `tokens deployment get <token-id> [options]`
143
+
144
+ **Options:**
145
+
146
+ | Flag | Description | Default | Required |
147
+ |------|-------------|---------|----------|
148
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
149
+ | `--json` | Output in JSON format | - | No |
150
+
151
+ #### `tokens deployment update`
152
+
153
+ Update a deployment token
154
+
155
+ **Usage:** `tokens deployment update <token-id> [options]`
156
+
157
+ **Options:**
158
+
159
+ | Flag | Description | Default | Required |
160
+ |------|-------------|---------|----------|
161
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
162
+ | `--expires-at <value>` | Body field expires_at | - | No |
163
+ | `--is-active` | Body field is_active | - | No |
164
+ | `--no-is-active` | Set is_active to false | - | No |
165
+ | `--name <value>` | Body field name | - | No |
166
+ | `--permissions <value>` | Body field permissions (repeatable) | - | No |
167
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
168
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
169
+ | `--json` | Output in JSON format | - | No |
170
+
171
+ #### `tokens deployment rotate`
172
+
173
+ Rotate a deployment token, invalidating its old secret and issuing a new one
174
+
175
+ **Usage:** `tokens deployment rotate <token-id> [options]`
176
+
177
+ **Options:**
178
+
179
+ | Flag | Description | Default | Required |
180
+ |------|-------------|---------|----------|
181
+ | `-p, --project <slug-or-id>` | Project slug or ID (default: the linked project) | - | No |
182
+ | `-y, --yes` | Do not ask for confirmation | - | No |
183
+ | `--json` | Output in JSON format | - | No |
@@ -15,6 +15,13 @@ Inspect distributed traces and operation latency
15
15
  - `regressions` - List the operations that got slower or faster after a deployment
16
16
  - `breakdown` - Show where the time inside one operation goes: queries, downstream calls, its own code
17
17
  - `page` - Compare a page's web vitals with the backend requests that served it
18
+ - `show` (`get`) - Show every span of one trace: timing, service, status, attributes and events
19
+ - `query-global` - Query global traces
20
+ - `query-global-summaries` - Query global trace summaries
21
+ - `get-unified` - Assemble a unified cross-project span waterfall (Phase 2)
22
+ - `query-summaries` - Query trace summaries — one row per trace with span count, error count, root span info, and proper..
23
+ - `query` - Query trace spans with optional filters
24
+ - `get-cross-siblings` - Discover sibling projects that share the same 'trace_id' (Phase 1 banner)
18
25
 
19
26
  ### `traces span-stats` (alias: `operations`, `ops`)
20
27
 
@@ -98,3 +105,145 @@ Compare a page's web vitals with the backend requests that served it
98
105
  | `--project-id <id>` | Project ID | - | No |
99
106
  | `--path <path>` | The page path, e.g. /checkout | - | No |
100
107
  | `--json` | Output in JSON format | - | No |
108
+
109
+ ### `traces show` (alias: `get`)
110
+
111
+ Show every span of one trace: timing, service, status, attributes and events
112
+
113
+ **Usage:** `traces show <trace-id> [options]`
114
+
115
+ **Options:**
116
+
117
+ | Flag | Description | Default | Required |
118
+ |------|-------------|---------|----------|
119
+ | `--project-id <id>` | Project the trace belongs to | - | Yes |
120
+ | `--start-time <iso>` | Look for the trace from this time (ISO 8601); pair with --end-time | - | No |
121
+ | `--end-time <iso>` | Look for the trace up to this time (ISO 8601); pair with --start-time | - | No |
122
+ | `--json` | Output the spans in JSON format | - | No |
123
+
124
+ ### `traces query-global`
125
+
126
+ Query global traces
127
+
128
+ **Options:**
129
+
130
+ | Flag | Description | Default | Required |
131
+ |------|-------------|---------|----------|
132
+ | `--project-id <n>` | Query parameter project_id | - | No |
133
+ | `--trace-id <value>` | Query parameter trace_id | - | No |
134
+ | `--service-name <value>` | Query parameter service_name | - | No |
135
+ | `--status <value>` | Query parameter status | - | No |
136
+ | `--min-duration-ms <number>` | Query parameter min_duration_ms | - | No |
137
+ | `--start-time <value>` | Query parameter start_time | - | No |
138
+ | `--end-time <value>` | Query parameter end_time | - | No |
139
+ | `--environment-id <n>` | Query parameter environment_id | - | No |
140
+ | `--deployment-id <n>` | Query parameter deployment_id | - | No |
141
+ | `--attributes <value>` | Filter by span attributes as comma-separated key=value pairs. e.g.... | - | No |
142
+ | `--name-pattern <value>` | Filter by span name pattern (ILIKE) | - | No |
143
+ | `--sort-by <value>` | Sort field for the trace-summaries list: "start_time" (default) or "duration" | - | No |
144
+ | `--sort-order <value>` | Sort direction: "asc" or "desc" (default) | - | No |
145
+ | `--limit <n>` | Query parameter limit | - | No |
146
+ | `--offset <n>` | Query parameter offset | - | No |
147
+ | `--json` | Output in JSON format | - | No |
148
+
149
+ ### `traces query-global-summaries`
150
+
151
+ Query global trace summaries
152
+
153
+ **Options:**
154
+
155
+ | Flag | Description | Default | Required |
156
+ |------|-------------|---------|----------|
157
+ | `--project-id <n>` | Query parameter project_id | - | No |
158
+ | `--trace-id <value>` | Query parameter trace_id | - | No |
159
+ | `--service-name <value>` | Query parameter service_name | - | No |
160
+ | `--status <value>` | Query parameter status | - | No |
161
+ | `--min-duration-ms <number>` | Query parameter min_duration_ms | - | No |
162
+ | `--start-time <value>` | Query parameter start_time | - | No |
163
+ | `--end-time <value>` | Query parameter end_time | - | No |
164
+ | `--environment-id <n>` | Query parameter environment_id | - | No |
165
+ | `--deployment-id <n>` | Query parameter deployment_id | - | No |
166
+ | `--attributes <value>` | Filter by span attributes as comma-separated key=value pairs. e.g.... | - | No |
167
+ | `--name-pattern <value>` | Filter by span name pattern (ILIKE) | - | No |
168
+ | `--sort-by <value>` | Sort field for the trace-summaries list: "start_time" (default) or "duration" | - | No |
169
+ | `--sort-order <value>` | Sort direction: "asc" or "desc" (default) | - | No |
170
+ | `--limit <n>` | Query parameter limit | - | No |
171
+ | `--offset <n>` | Query parameter offset | - | No |
172
+ | `--json` | Output in JSON format | - | No |
173
+
174
+ ### `traces get-unified`
175
+
176
+ Assemble a unified cross-project span waterfall (Phase 2)
177
+
178
+ **Usage:** `traces get-unified <trace-id> [options]`
179
+
180
+ **Options:**
181
+
182
+ | Flag | Description | Default | Required |
183
+ |------|-------------|---------|----------|
184
+ | `--start-time <value>` | Window start (RFC 3339); pair with end_time, max 31 days | - | No |
185
+ | `--end-time <value>` | Window end (RFC 3339); pair with start_time, max 31 days | - | No |
186
+ | `--json` | Output in JSON format | - | No |
187
+
188
+ ### `traces query-summaries`
189
+
190
+ Query trace summaries — one row per trace with span count, error count, root span info, and proper..
191
+
192
+ **Options:**
193
+
194
+ | Flag | Description | Default | Required |
195
+ |------|-------------|---------|----------|
196
+ | `--project-id <n>` | Project ID [required] | - | No |
197
+ | `--trace-id <value>` | Filter by trace ID | - | No |
198
+ | `--service-name <value>` | Filter by service name | - | No |
199
+ | `--status <value>` | Filter by status (OK, ERROR) | - | No |
200
+ | `--min-duration-ms <number>` | Minimum trace duration in ms | - | No |
201
+ | `--start-time <value>` | Start time (RFC 3339) | - | No |
202
+ | `--end-time <value>` | End time (RFC 3339) | - | No |
203
+ | `--environment-id <n>` | Filter by environment ID | - | No |
204
+ | `--deployment-id <n>` | Filter by deployment ID | - | No |
205
+ | `--attributes <value>` | Filter by span attributes as comma-separated key=value pairs, e.g.... | - | No |
206
+ | `--name-pattern <value>` | Filter by span name pattern (ILIKE) | - | No |
207
+ | `--sort-by <value>` | Sort field: 'start_time' (default) or 'duration' | - | No |
208
+ | `--sort-order <value>` | Sort direction: 'asc' or 'desc' (default) | - | No |
209
+ | `--include-total` | Compute the 'total' count (default: true) | - | No |
210
+ | `--no-include-total` | Set include_total to false | - | No |
211
+ | `--limit <n>` | Max traces to return (default: 50, max: 100) | - | No |
212
+ | `--offset <n>` | Offset for pagination | - | No |
213
+ | `--json` | Output in JSON format | - | No |
214
+
215
+ ### `traces query`
216
+
217
+ Query trace spans with optional filters
218
+
219
+ **Options:**
220
+
221
+ | Flag | Description | Default | Required |
222
+ |------|-------------|---------|----------|
223
+ | `--project-id <n>` | Project ID [required] | - | No |
224
+ | `--trace-id <value>` | Filter by trace ID | - | No |
225
+ | `--service-name <value>` | Filter by service name | - | No |
226
+ | `--status <value>` | Filter by status (OK, ERROR, UNSET) | - | No |
227
+ | `--min-duration-ms <number>` | Minimum span duration in ms | - | No |
228
+ | `--start-time <value>` | Start time (RFC 3339) | - | No |
229
+ | `--end-time <value>` | End time (RFC 3339) | - | No |
230
+ | `--environment-id <n>` | Filter by environment ID | - | No |
231
+ | `--deployment-id <n>` | Filter by deployment ID | - | No |
232
+ | `--attributes <value>` | Filter by span attributes as comma-separated key=value pairs, e.g.... | - | No |
233
+ | `--name-pattern <value>` | Filter by span name pattern (ILIKE) | - | No |
234
+ | `--limit <n>` | Max spans to return (default: 100, max: 1000) | - | No |
235
+ | `--offset <n>` | Offset for pagination | - | No |
236
+ | `--json` | Output in JSON format | - | No |
237
+
238
+ ### `traces get-cross-siblings`
239
+
240
+ Discover sibling projects that share the same 'trace_id' (Phase 1 banner)
241
+
242
+ **Usage:** `traces get-cross-siblings <trace-id> [options]`
243
+
244
+ **Options:**
245
+
246
+ | Flag | Description | Default | Required |
247
+ |------|-------------|---------|----------|
248
+ | `--exclude-project-id <n>` | Project ID to exclude (the caller's own project) so the UI does not render a self-link | - | No |
249
+ | `--json` | Output in JSON format | - | No |
@@ -56,6 +56,8 @@ Create a tunnel for a managed zone and run it on workers. The zone must already
56
56
  | `--domain <domain>` | Zone (or subdomain of one) whose apps it publishes | - | Yes |
57
57
  | `--node <ids...>` | Worker node ids to run it on | - | Yes |
58
58
  | `--provider <kind>` | Tunnel provider kind | `cloudflare_tunnel` | No |
59
+ | `--host-suffix <suffix>` | Name environment hosts <label>-<suffix>.<domain>, one level under the zone | - | No |
60
+ | `--secrets-file <path>` | JSON object of the provider's credential fields by key (- reads stdin) | - | No |
59
61
  | `--json` | Output in JSON format | - | No |
60
62
 
61
63
  ### `tunnels hostnames`
@@ -10,6 +10,7 @@ Manage platform users
10
10
 
11
11
  **Subcommands:**
12
12
 
13
+ - `get` - Show one platform user
13
14
  - `list` (`ls`) - List all users
14
15
  - `create` (`add`) - Create a new user
15
16
  - `me` - Show current user info
@@ -18,6 +19,24 @@ Manage platform users
18
19
  - `reset-password` - Reset another user's password to a generated temporary one. The user is signed out of every browser session and must choose a new password at next sign-in
19
20
  - `reset-mfa` - Remove another user's MFA (authenticator and recovery codes) after they lost both. The user is signed out of every session. Password sign-in is blocked when require_mfa_for_admins applies; arrange SSO access or a temporary policy change before resetting MFA. Otherwise, sign in with a password to enroll again
20
21
  - `role` - Manage user roles
22
+ - `update-self` - Update current user's information
23
+ - `disable-mfa` - Disable mfa
24
+ - `setup-mfa` - Setup mfa
25
+ - `verify-and-enable-mfa` - Verify and enable mfa
26
+ - `change-password-self` - Change password self
27
+ - `update` - Update user information (admin only)
28
+
29
+ ### `users get`
30
+
31
+ Show one platform user
32
+
33
+ **Usage:** `users get <user-id> [options]`
34
+
35
+ **Options:**
36
+
37
+ | Flag | Description | Default | Required |
38
+ |------|-------------|---------|----------|
39
+ | `--json` | Output in JSON format | - | No |
21
40
 
22
41
  ### `users list` (alias: `ls`)
23
42
 
@@ -41,6 +60,7 @@ Create a new user
41
60
  | `-e, --email <email>` | Email address | - | No |
42
61
  | `-p, --password <password>` | Password (if not provided, invite email will be sent) | - | No |
43
62
  | `-r, --roles <roles>` | Comma-separated roles (admin, user) | - | No |
63
+ | `--must-change-password` | Make the user choose a new password at first sign-in | - | No |
44
64
  | `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
45
65
  | `--password-file <path>` | Read the password from a file (- reads stdin) instead of --password | - | No |
46
66
  | `--password-stdin` | Read the password from stdin instead of --password | - | No |
@@ -113,3 +133,94 @@ Manage user roles
113
133
  | `--id <id>` | User ID | - | Yes |
114
134
  | `--add <role>` | Add a role to user | - | No |
115
135
  | `--remove <role>` | Remove a role from user | - | No |
136
+
137
+ ### `users update-self`
138
+
139
+ Update current user's information
140
+
141
+ **Options:**
142
+
143
+ | Flag | Description | Default | Required |
144
+ |------|-------------|---------|----------|
145
+ | `--email <value>` | Body field email | - | No |
146
+ | `--name <value>` | Body field name | - | No |
147
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
148
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
149
+ | `--json` | Output in JSON format | - | No |
150
+
151
+ ### `users disable-mfa`
152
+
153
+ Disable mfa
154
+
155
+ **Options:**
156
+
157
+ | Flag | Description | Default | Required |
158
+ |------|-------------|---------|----------|
159
+ | `--code <value>` | Body field code [required] | - | No |
160
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
161
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
162
+ | `-y, --yes` | Do not ask for confirmation | - | No |
163
+ | `--json` | Output in JSON format | - | No |
164
+
165
+ ### `users setup-mfa`
166
+
167
+ Setup mfa
168
+
169
+ **Options:**
170
+
171
+ | Flag | Description | Default | Required |
172
+ |------|-------------|---------|----------|
173
+ | `--current-password-stdin` | Required to enroll MFA on an account that has a password set (read from stdin) | - | No |
174
+ | `--current-password-file <path>` | Required to enroll MFA on an account that has a password set (read from a file) | - | No |
175
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
176
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
177
+ | `--json` | Output in JSON format | - | No |
178
+
179
+ ### `users verify-and-enable-mfa`
180
+
181
+ Verify and enable mfa
182
+
183
+ **Options:**
184
+
185
+ | Flag | Description | Default | Required |
186
+ |------|-------------|---------|----------|
187
+ | `--code <value>` | Body field code [required] | - | No |
188
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
189
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
190
+ | `--json` | Output in JSON format | - | No |
191
+
192
+ ### `users change-password-self`
193
+
194
+ Change password self
195
+
196
+ **Options:**
197
+
198
+ | Flag | Description | Default | Required |
199
+ |------|-------------|---------|----------|
200
+ | `--current-password-stdin` | Body field current_password [required] (read from stdin) | - | No |
201
+ | `--current-password-file <path>` | Body field current_password [required] (read from a file) | - | No |
202
+ | `--mfa-code <value>` | TOTP code (or recovery code) | - | No |
203
+ | `--new-password-stdin` | Body field new_password [required] (read from stdin) | - | No |
204
+ | `--new-password-file <path>` | Body field new_password [required] (read from a file) | - | No |
205
+ | `--revoke-other-sessions` | When true, every session OTHER than the one making this request is revoked | - | No |
206
+ | `--no-revoke-other-sessions` | Set revoke_other_sessions to false | - | No |
207
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
208
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
209
+ | `--json` | Output in JSON format | - | No |
210
+
211
+ ### `users update`
212
+
213
+ Update user information (admin only)
214
+
215
+ **Usage:** `users update <user-id> [options]`
216
+
217
+ **Options:**
218
+
219
+ | Flag | Description | Default | Required |
220
+ |------|-------------|---------|----------|
221
+ | `--email <value>` | Body field email | - | No |
222
+ | `--name <value>` | Deprecated: the old name of 'username', still accepted | - | No |
223
+ | `--username <value>` | The new username, as in 'CreateUserRequest' | - | No |
224
+ | `--from-file <path>` | Start the request body from a JSON file (- for stdin); flags override it | - | No |
225
+ | `--set <field=value>` | Set a body field by path, e.g. limits.memory=512 (repeatable) | - | No |
226
+ | `--json` | Output in JSON format | - | No |