@copado/agentia-cli 0.6.0-alpha.0 → 0.7.0-alpha.0
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 +1025 -7
- package/dist/commands/auth/get.d.ts +23 -0
- package/dist/commands/auth/get.js +73 -0
- package/dist/commands/auth/get.js.map +1 -0
- package/dist/commands/auth/set.d.ts +21 -0
- package/dist/commands/auth/set.js +113 -0
- package/dist/commands/auth/set.js.map +1 -0
- package/dist/commands/environment/auth/status.d.ts +13 -0
- package/dist/commands/environment/auth/status.js +36 -0
- package/dist/commands/environment/auth/status.js.map +1 -0
- package/dist/commands/environment/auth/web/login.d.ts +15 -0
- package/dist/commands/environment/auth/web/login.js +55 -0
- package/dist/commands/environment/auth/web/login.js.map +1 -0
- package/dist/commands/environment/create.d.ts +22 -0
- package/dist/commands/environment/create.js +41 -0
- package/dist/commands/environment/create.js.map +1 -0
- package/dist/commands/environment/get.d.ts +10 -0
- package/dist/commands/environment/get.js +30 -0
- package/dist/commands/environment/get.js.map +1 -0
- package/dist/commands/environment/list.d.ts +17 -0
- package/dist/commands/environment/list.js +69 -0
- package/dist/commands/environment/list.js.map +1 -0
- package/dist/commands/environment/update.d.ts +23 -0
- package/dist/commands/environment/update.js +70 -0
- package/dist/commands/environment/update.js.map +1 -0
- package/dist/commands/job/get.d.ts +14 -0
- package/dist/commands/job/get.js +33 -0
- package/dist/commands/job/get.js.map +1 -0
- package/dist/commands/job/kill.d.ts +14 -0
- package/dist/commands/job/kill.js +34 -0
- package/dist/commands/job/kill.js.map +1 -0
- package/dist/commands/job/list.d.ts +18 -0
- package/dist/commands/job/list.js +68 -0
- package/dist/commands/job/list.js.map +1 -0
- package/dist/commands/job/pause.d.ts +14 -0
- package/dist/commands/job/pause.js +34 -0
- package/dist/commands/job/pause.js.map +1 -0
- package/dist/commands/job/resume.d.ts +14 -0
- package/dist/commands/job/resume.js +34 -0
- package/dist/commands/job/resume.js.map +1 -0
- package/dist/commands/job/run.d.ts +15 -0
- package/dist/commands/job/run.js +40 -0
- package/dist/commands/job/run.js.map +1 -0
- package/dist/commands/mcp/start.d.ts +7 -0
- package/dist/commands/mcp/start.js +15 -0
- package/dist/commands/mcp/start.js.map +1 -0
- package/dist/commands/metadata/content/compare.d.ts +40 -0
- package/dist/commands/metadata/content/compare.js +127 -0
- package/dist/commands/metadata/content/compare.js.map +1 -0
- package/dist/commands/metadata/content/get.d.ts +39 -0
- package/dist/commands/metadata/content/get.js +158 -0
- package/dist/commands/metadata/content/get.js.map +1 -0
- package/dist/commands/metadata/dependency/list.d.ts +49 -0
- package/dist/commands/metadata/dependency/list.js +216 -0
- package/dist/commands/metadata/dependency/list.js.map +1 -0
- package/dist/commands/metadata/index/compare.d.ts +34 -0
- package/dist/commands/metadata/index/compare.js +100 -0
- package/dist/commands/metadata/index/compare.js.map +1 -0
- package/dist/commands/metadata/list.d.ts +56 -0
- package/dist/commands/metadata/list.js +133 -0
- package/dist/commands/metadata/list.js.map +1 -0
- package/dist/commands/metadata/refresh/deleted.d.ts +15 -0
- package/dist/commands/metadata/refresh/deleted.js +55 -0
- package/dist/commands/metadata/refresh/deleted.js.map +1 -0
- package/dist/commands/metadata/refresh/run.d.ts +23 -0
- package/dist/commands/metadata/refresh/run.js +95 -0
- package/dist/commands/metadata/refresh/run.js.map +1 -0
- package/dist/commands/metadata/refresh/status.d.ts +14 -0
- package/dist/commands/metadata/refresh/status.js +49 -0
- package/dist/commands/metadata/refresh/status.js.map +1 -0
- package/dist/commands/pipeline/connection/list.d.ts +12 -0
- package/dist/commands/pipeline/connection/list.js +39 -0
- package/dist/commands/pipeline/connection/list.js.map +1 -0
- package/dist/commands/pipeline/get.d.ts +14 -0
- package/dist/commands/pipeline/get.js +33 -0
- package/dist/commands/pipeline/get.js.map +1 -0
- package/dist/commands/pipeline/list.d.ts +11 -0
- package/dist/commands/pipeline/list.js +30 -0
- package/dist/commands/pipeline/list.js.map +1 -0
- package/dist/commands/project/default/get.d.ts +21 -0
- package/dist/commands/project/default/get.js +44 -0
- package/dist/commands/project/default/get.js.map +1 -0
- package/dist/commands/project/default/set.d.ts +21 -0
- package/dist/commands/project/default/set.js +55 -0
- package/dist/commands/project/default/set.js.map +1 -0
- package/dist/commands/project/default/unset.d.ts +21 -0
- package/dist/commands/project/default/unset.js +45 -0
- package/dist/commands/project/default/unset.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/agentia-command.d.ts +7 -0
- package/dist/lib/agentia-command.js +28 -0
- package/dist/lib/agentia-command.js.map +1 -0
- package/dist/lib/agentia-oauth-error-codes.d.ts +17 -0
- package/dist/lib/agentia-oauth-error-codes.js +30 -0
- package/dist/lib/agentia-oauth-error-codes.js.map +1 -0
- package/dist/lib/assert.d.ts +1 -0
- package/dist/lib/assert.js +7 -0
- package/dist/lib/assert.js.map +1 -0
- package/dist/lib/cicd-gateway.d.ts +57 -0
- package/dist/lib/cicd-gateway.js +221 -0
- package/dist/lib/cicd-gateway.js.map +1 -0
- package/dist/lib/cicd-region.d.ts +4 -0
- package/dist/lib/cicd-region.js +8 -0
- package/dist/lib/cicd-region.js.map +1 -0
- package/dist/lib/credential-store.d.ts +18 -0
- package/dist/lib/credential-store.js +43 -0
- package/dist/lib/credential-store.js.map +1 -0
- package/dist/lib/defaults-store.d.ts +12 -0
- package/dist/lib/defaults-store.js +142 -0
- package/dist/lib/defaults-store.js.map +1 -0
- package/dist/lib/dependency-from-changes.d.ts +6 -0
- package/dist/lib/dependency-from-changes.js +97 -0
- package/dist/lib/dependency-from-changes.js.map +1 -0
- package/dist/lib/environment-auth-status.d.ts +18 -0
- package/dist/lib/environment-auth-status.js +74 -0
- package/dist/lib/environment-auth-status.js.map +1 -0
- package/dist/lib/environment-auth.d.ts +26 -0
- package/dist/lib/environment-auth.js +150 -0
- package/dist/lib/environment-auth.js.map +1 -0
- package/dist/lib/environment-credential-selection.d.ts +14 -0
- package/dist/lib/environment-credential-selection.js +60 -0
- package/dist/lib/environment-credential-selection.js.map +1 -0
- package/dist/lib/environment-flags.d.ts +81 -0
- package/dist/lib/environment-flags.js +134 -0
- package/dist/lib/environment-flags.js.map +1 -0
- package/dist/lib/environment-types.d.ts +84 -0
- package/dist/lib/environment-types.js +52 -0
- package/dist/lib/environment-types.js.map +1 -0
- package/dist/lib/format.d.ts +5 -0
- package/dist/lib/format.js +8 -0
- package/dist/lib/format.js.map +1 -0
- package/dist/lib/job-types.d.ts +85 -0
- package/dist/lib/job-types.js +115 -0
- package/dist/lib/job-types.js.map +1 -0
- package/dist/lib/loopback-callback-server.d.ts +35 -0
- package/dist/lib/loopback-callback-server.js +162 -0
- package/dist/lib/loopback-callback-server.js.map +1 -0
- package/dist/lib/mcp/redaction.d.ts +2 -0
- package/dist/lib/mcp/redaction.js +24 -0
- package/dist/lib/mcp/redaction.js.map +1 -0
- package/dist/lib/mcp/result.d.ts +37 -0
- package/dist/lib/mcp/result.js +39 -0
- package/dist/lib/mcp/result.js.map +1 -0
- package/dist/lib/mcp/server.d.ts +5 -0
- package/dist/lib/mcp/server.js +24 -0
- package/dist/lib/mcp/server.js.map +1 -0
- package/dist/lib/mcp/tools.d.ts +235 -0
- package/dist/lib/mcp/tools.js +683 -0
- package/dist/lib/mcp/tools.js.map +1 -0
- package/dist/lib/metadata-common.d.ts +159 -0
- package/dist/lib/metadata-common.js +234 -0
- package/dist/lib/metadata-common.js.map +1 -0
- package/dist/lib/metadata-refresh.d.ts +68 -0
- package/dist/lib/metadata-refresh.js +104 -0
- package/dist/lib/metadata-refresh.js.map +1 -0
- package/dist/lib/open-browser.d.ts +8 -0
- package/dist/lib/open-browser.js +40 -0
- package/dist/lib/open-browser.js.map +1 -0
- package/dist/lib/pipeline-flags.d.ts +10 -0
- package/dist/lib/pipeline-flags.js +18 -0
- package/dist/lib/pipeline-flags.js.map +1 -0
- package/dist/lib/pipeline-types.d.ts +84 -0
- package/dist/lib/pipeline-types.js +67 -0
- package/dist/lib/pipeline-types.js.map +1 -0
- package/dist/lib/project-default-flags.d.ts +41 -0
- package/dist/lib/project-default-flags.js +82 -0
- package/dist/lib/project-default-flags.js.map +1 -0
- package/dist/lib/project-defaults.d.ts +23 -0
- package/dist/lib/project-defaults.js +51 -0
- package/dist/lib/project-defaults.js.map +1 -0
- package/dist/lib/user-context-types.d.ts +12 -0
- package/dist/lib/user-context-types.js +2 -0
- package/dist/lib/user-context-types.js.map +1 -0
- package/oclif.manifest.json +2315 -2
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ $ npm install -g @copado/agentia-cli
|
|
|
23
23
|
$ agentia COMMAND
|
|
24
24
|
running command...
|
|
25
25
|
$ agentia (--version)
|
|
26
|
-
@copado/agentia-cli/0.
|
|
26
|
+
@copado/agentia-cli/0.7.0-alpha.0 linux-x64 node-v22.23.1
|
|
27
27
|
$ agentia --help [COMMAND]
|
|
28
28
|
USAGE
|
|
29
29
|
$ agentia COMMAND
|
|
@@ -149,7 +149,33 @@ Agentia CLI is distributed under the Copado End User License Agreement. See [LIC
|
|
|
149
149
|
|
|
150
150
|
# Commands
|
|
151
151
|
<!-- commands -->
|
|
152
|
+
* [`agentia auth get`](#agentia-auth-get)
|
|
153
|
+
* [`agentia auth set`](#agentia-auth-set)
|
|
154
|
+
* [`agentia environment auth status ID`](#agentia-environment-auth-status-id)
|
|
155
|
+
* [`agentia environment auth web login ID`](#agentia-environment-auth-web-login-id)
|
|
156
|
+
* [`agentia environment create NAME`](#agentia-environment-create-name)
|
|
157
|
+
* [`agentia environment get ID`](#agentia-environment-get-id)
|
|
158
|
+
* [`agentia environment list`](#agentia-environment-list)
|
|
159
|
+
* [`agentia environment update ID`](#agentia-environment-update-id)
|
|
152
160
|
* [`agentia help [COMMAND]`](#agentia-help-command)
|
|
161
|
+
* [`agentia job get ID`](#agentia-job-get-id)
|
|
162
|
+
* [`agentia job kill ID`](#agentia-job-kill-id)
|
|
163
|
+
* [`agentia job list`](#agentia-job-list)
|
|
164
|
+
* [`agentia job pause ID`](#agentia-job-pause-id)
|
|
165
|
+
* [`agentia job resume ID`](#agentia-job-resume-id)
|
|
166
|
+
* [`agentia job run ID`](#agentia-job-run-id)
|
|
167
|
+
* [`agentia mcp start`](#agentia-mcp-start)
|
|
168
|
+
* [`agentia metadata content compare`](#agentia-metadata-content-compare)
|
|
169
|
+
* [`agentia metadata content get`](#agentia-metadata-content-get)
|
|
170
|
+
* [`agentia metadata dependency list`](#agentia-metadata-dependency-list)
|
|
171
|
+
* [`agentia metadata index compare`](#agentia-metadata-index-compare)
|
|
172
|
+
* [`agentia metadata list`](#agentia-metadata-list)
|
|
173
|
+
* [`agentia metadata refresh deleted`](#agentia-metadata-refresh-deleted)
|
|
174
|
+
* [`agentia metadata refresh run`](#agentia-metadata-refresh-run)
|
|
175
|
+
* [`agentia metadata refresh status`](#agentia-metadata-refresh-status)
|
|
176
|
+
* [`agentia pipeline connection list`](#agentia-pipeline-connection-list)
|
|
177
|
+
* [`agentia pipeline get ID`](#agentia-pipeline-get-id)
|
|
178
|
+
* [`agentia pipeline list`](#agentia-pipeline-list)
|
|
153
179
|
* [`agentia plugins`](#agentia-plugins)
|
|
154
180
|
* [`agentia plugins add PLUGIN`](#agentia-plugins-add-plugin)
|
|
155
181
|
* [`agentia plugins:inspect PLUGIN...`](#agentia-pluginsinspect-plugin)
|
|
@@ -160,26 +186,907 @@ Agentia CLI is distributed under the Copado End User License Agreement. See [LIC
|
|
|
160
186
|
* [`agentia plugins uninstall [PLUGIN]`](#agentia-plugins-uninstall-plugin)
|
|
161
187
|
* [`agentia plugins unlink [PLUGIN]`](#agentia-plugins-unlink-plugin)
|
|
162
188
|
* [`agentia plugins update`](#agentia-plugins-update)
|
|
189
|
+
* [`agentia project default get`](#agentia-project-default-get)
|
|
190
|
+
* [`agentia project default set`](#agentia-project-default-set)
|
|
191
|
+
* [`agentia project default unset`](#agentia-project-default-unset)
|
|
192
|
+
|
|
193
|
+
## `agentia auth get`
|
|
194
|
+
|
|
195
|
+
Show stored authentication credentials from the system keychain
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
USAGE
|
|
199
|
+
$ agentia auth get [--json] [--cicd] [--crt]
|
|
200
|
+
|
|
201
|
+
FLAGS
|
|
202
|
+
--cicd Show Copado API key for CICD authentication
|
|
203
|
+
--crt Show PAT token for CRT authentication
|
|
204
|
+
|
|
205
|
+
GLOBAL FLAGS
|
|
206
|
+
--json Format output as json.
|
|
207
|
+
|
|
208
|
+
DESCRIPTION
|
|
209
|
+
Show stored authentication credentials from the system keychain
|
|
210
|
+
|
|
211
|
+
EXAMPLES
|
|
212
|
+
$ agentia auth get
|
|
213
|
+
|
|
214
|
+
$ agentia auth get --cicd
|
|
215
|
+
|
|
216
|
+
$ agentia auth get --crt
|
|
217
|
+
|
|
218
|
+
$ agentia auth get --cicd --crt
|
|
219
|
+
|
|
220
|
+
$ agentia auth get --json
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
_See code: [src/commands/auth/get.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/auth/get.ts)_
|
|
224
|
+
|
|
225
|
+
## `agentia auth set`
|
|
226
|
+
|
|
227
|
+
Store authentication credentials securely in the system keychain
|
|
228
|
+
|
|
229
|
+
```
|
|
230
|
+
USAGE
|
|
231
|
+
$ agentia auth set [--json] [--cicd <value>] [--crt <value>] [--custom-url <value>] [--region
|
|
232
|
+
na|emea|emea2|apac|apac2]
|
|
233
|
+
|
|
234
|
+
FLAGS
|
|
235
|
+
--cicd=<value> Copado API key for CICD authentication
|
|
236
|
+
--crt=<value> PAT token for CRT authentication
|
|
237
|
+
--custom-url=<value> CICD gateway base URL used instead of regional mapping
|
|
238
|
+
--region=<option> CICD region used to resolve the gateway endpoint
|
|
239
|
+
<options: na|emea|emea2|apac|apac2>
|
|
240
|
+
|
|
241
|
+
GLOBAL FLAGS
|
|
242
|
+
--json Format output as json.
|
|
243
|
+
|
|
244
|
+
DESCRIPTION
|
|
245
|
+
Store authentication credentials securely in the system keychain
|
|
246
|
+
|
|
247
|
+
EXAMPLES
|
|
248
|
+
$ agentia auth set --cicd <copado-api-key> --region na
|
|
249
|
+
|
|
250
|
+
$ agentia auth set --cicd <copado-api-key> --custom-url https://dev.api.copado.com
|
|
251
|
+
|
|
252
|
+
$ agentia auth set --cicd <copado-api-key>
|
|
253
|
+
|
|
254
|
+
$ agentia auth set --crt <pat-token>
|
|
255
|
+
|
|
256
|
+
$ agentia auth set --cicd <copado-api-key> --region na --crt <pat-token>
|
|
257
|
+
|
|
258
|
+
$ agentia auth set --cicd <copado-api-key> --region na --json
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
_See code: [src/commands/auth/set.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/auth/set.ts)_
|
|
262
|
+
|
|
263
|
+
## `agentia environment auth status ID`
|
|
264
|
+
|
|
265
|
+
Validate the authentication status of an environment credential
|
|
266
|
+
|
|
267
|
+
```
|
|
268
|
+
USAGE
|
|
269
|
+
$ agentia environment auth status ID [--json] [--credentialid <value>]
|
|
270
|
+
|
|
271
|
+
ARGUMENTS
|
|
272
|
+
ID Copado environment ID
|
|
273
|
+
|
|
274
|
+
FLAGS
|
|
275
|
+
--credentialid=<value> Credential ID to validate when automatic selection is not possible
|
|
276
|
+
|
|
277
|
+
GLOBAL FLAGS
|
|
278
|
+
--json Format output as json.
|
|
279
|
+
|
|
280
|
+
DESCRIPTION
|
|
281
|
+
Validate the authentication status of an environment credential
|
|
282
|
+
|
|
283
|
+
EXAMPLES
|
|
284
|
+
$ agentia environment auth status a0SKC000000CmZ2AU
|
|
285
|
+
|
|
286
|
+
$ agentia environment auth status a0SKC000000CmZ2AU --credentialid a0kKC000000hFmWYAU
|
|
287
|
+
|
|
288
|
+
$ agentia environment auth status a0SKC000000CmZ2AU --json
|
|
289
|
+
```
|
|
290
|
+
|
|
291
|
+
_See code: [src/commands/environment/auth/status.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/environment/auth/status.ts)_
|
|
292
|
+
|
|
293
|
+
## `agentia environment auth web login ID`
|
|
294
|
+
|
|
295
|
+
Authenticate an environment credential via browser web login
|
|
296
|
+
|
|
297
|
+
```
|
|
298
|
+
USAGE
|
|
299
|
+
$ agentia environment auth web login ID [--json] [--credentialid <value>] [--port <value>] [--timeout <value>]
|
|
300
|
+
|
|
301
|
+
ARGUMENTS
|
|
302
|
+
ID Copado environment ID
|
|
303
|
+
|
|
304
|
+
FLAGS
|
|
305
|
+
--credentialid=<value> Credential ID to authenticate when automatic selection is not possible
|
|
306
|
+
--port=<value> Local loopback port (default: scan 8080-8090)
|
|
307
|
+
--timeout=<value> [default: 300] Max seconds to wait for browser login
|
|
308
|
+
|
|
309
|
+
GLOBAL FLAGS
|
|
310
|
+
--json Format output as json.
|
|
311
|
+
|
|
312
|
+
DESCRIPTION
|
|
313
|
+
Authenticate an environment credential via browser web login
|
|
314
|
+
|
|
315
|
+
EXAMPLES
|
|
316
|
+
$ agentia environment auth web login a0SKC000000CmZ2AU
|
|
317
|
+
|
|
318
|
+
$ agentia environment auth web login a0SKC000000CmZ2AU --credentialid a0kKC000000hFmWYAU
|
|
319
|
+
|
|
320
|
+
$ agentia environment auth web login a0SKC000000CmZ2AU --port 8085 --timeout 120
|
|
321
|
+
|
|
322
|
+
$ agentia environment auth web login a0SKC000000CmZ2AU --json
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
_See code: [src/commands/environment/auth/web/login.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/environment/auth/web/login.ts)_
|
|
326
|
+
|
|
327
|
+
## `agentia environment create NAME`
|
|
328
|
+
|
|
329
|
+
Create a Copado environment
|
|
330
|
+
|
|
331
|
+
```
|
|
332
|
+
USAGE
|
|
333
|
+
$ agentia environment create NAME [--json] [--enable-rollback] [--index-back-promotion-metadata] [--run-local-tests]
|
|
334
|
+
[--apex-test-level <value>] [--namespace <value>] [--promotion-default-credential <value>] [--run-specified-tests
|
|
335
|
+
<value>] [--validation-promotion-default-credential <value>] [--platform <value>] [--type
|
|
336
|
+
Production/Developer|Sandbox|Scratch Org|Custom Domain]
|
|
337
|
+
|
|
338
|
+
ARGUMENTS
|
|
339
|
+
NAME Name of the environment to create
|
|
340
|
+
|
|
341
|
+
FLAGS
|
|
342
|
+
--apex-test-level=<value> Apex test level
|
|
343
|
+
--[no-]enable-rollback Enable rollback
|
|
344
|
+
--[no-]index-back-promotion-metadata Index back promotion metadata
|
|
345
|
+
--namespace=<value> Environment namespace
|
|
346
|
+
--platform=<value> [default: SFDX] Environment platform
|
|
347
|
+
--promotion-default-credential=<value> Default credential for promotions
|
|
348
|
+
--[no-]run-local-tests Run local tests
|
|
349
|
+
--run-specified-tests=<value> Specified tests to run
|
|
350
|
+
--type=<option> [default: Production/Developer] Environment type
|
|
351
|
+
<options: Production/Developer|Sandbox|Scratch Org|Custom Domain>
|
|
352
|
+
--validation-promotion-default-credential=<value> Default credential for validation promotions
|
|
353
|
+
|
|
354
|
+
GLOBAL FLAGS
|
|
355
|
+
--json Format output as json.
|
|
356
|
+
|
|
357
|
+
DESCRIPTION
|
|
358
|
+
Create a Copado environment
|
|
359
|
+
|
|
360
|
+
EXAMPLES
|
|
361
|
+
$ agentia environment create Dev
|
|
362
|
+
|
|
363
|
+
$ agentia environment create Dev --type Sandbox --platform SFDX
|
|
364
|
+
|
|
365
|
+
$ agentia environment create Dev --run-local-tests --apex-test-level "No Test Run"
|
|
366
|
+
|
|
367
|
+
$ agentia environment create Dev --json
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
_See code: [src/commands/environment/create.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/environment/create.ts)_
|
|
371
|
+
|
|
372
|
+
## `agentia environment get ID`
|
|
373
|
+
|
|
374
|
+
Get a Copado environment by ID
|
|
375
|
+
|
|
376
|
+
```
|
|
377
|
+
USAGE
|
|
378
|
+
$ agentia environment get ID [--json]
|
|
379
|
+
|
|
380
|
+
ARGUMENTS
|
|
381
|
+
ID Copado environment ID
|
|
382
|
+
|
|
383
|
+
GLOBAL FLAGS
|
|
384
|
+
--json Format output as json.
|
|
385
|
+
|
|
386
|
+
DESCRIPTION
|
|
387
|
+
Get a Copado environment by ID
|
|
388
|
+
|
|
389
|
+
EXAMPLES
|
|
390
|
+
$ agentia environment get a0SKC000000CmZ2AU
|
|
391
|
+
|
|
392
|
+
$ agentia environment get a0SKC000000CmZ2AU --json
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
_See code: [src/commands/environment/get.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/environment/get.ts)_
|
|
396
|
+
|
|
397
|
+
## `agentia environment list`
|
|
398
|
+
|
|
399
|
+
List Copado environments
|
|
400
|
+
|
|
401
|
+
```
|
|
402
|
+
USAGE
|
|
403
|
+
$ agentia environment list [--json]
|
|
404
|
+
|
|
405
|
+
GLOBAL FLAGS
|
|
406
|
+
--json Format output as json.
|
|
407
|
+
|
|
408
|
+
DESCRIPTION
|
|
409
|
+
List Copado environments
|
|
410
|
+
|
|
411
|
+
EXAMPLES
|
|
412
|
+
$ agentia environment list
|
|
413
|
+
|
|
414
|
+
$ agentia environment list --json
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
_See code: [src/commands/environment/list.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/environment/list.ts)_
|
|
418
|
+
|
|
419
|
+
## `agentia environment update ID`
|
|
420
|
+
|
|
421
|
+
Update a Copado environment by ID
|
|
422
|
+
|
|
423
|
+
```
|
|
424
|
+
USAGE
|
|
425
|
+
$ agentia environment update ID [--json] [--enable-rollback] [--index-back-promotion-metadata] [--run-local-tests]
|
|
426
|
+
[--apex-test-level <value>] [--name <value>] [--namespace <value>] [--platform <value>]
|
|
427
|
+
[--promotion-default-credential <value>] [--run-specified-tests <value>] [--type
|
|
428
|
+
Production/Developer|Sandbox|Scratch Org|Custom Domain] [--validation-promotion-default-credential <value>]
|
|
429
|
+
|
|
430
|
+
ARGUMENTS
|
|
431
|
+
ID Copado environment ID
|
|
432
|
+
|
|
433
|
+
FLAGS
|
|
434
|
+
--apex-test-level=<value> Apex test level
|
|
435
|
+
--[no-]enable-rollback Enable rollback
|
|
436
|
+
--[no-]index-back-promotion-metadata Index back promotion metadata
|
|
437
|
+
--name=<value> Environment name
|
|
438
|
+
--namespace=<value> Environment namespace
|
|
439
|
+
--platform=<value> Environment platform
|
|
440
|
+
--promotion-default-credential=<value> Default credential for promotions
|
|
441
|
+
--[no-]run-local-tests Run local tests
|
|
442
|
+
--run-specified-tests=<value> Specified tests to run
|
|
443
|
+
--type=<option> Environment type
|
|
444
|
+
<options: Production/Developer|Sandbox|Scratch Org|Custom Domain>
|
|
445
|
+
--validation-promotion-default-credential=<value> Default credential for validation promotions
|
|
446
|
+
|
|
447
|
+
GLOBAL FLAGS
|
|
448
|
+
--json Format output as json.
|
|
449
|
+
|
|
450
|
+
DESCRIPTION
|
|
451
|
+
Update a Copado environment by ID
|
|
452
|
+
|
|
453
|
+
EXAMPLES
|
|
454
|
+
$ agentia environment update a0SKC000000CmZ2AU --name UAT
|
|
455
|
+
|
|
456
|
+
$ agentia environment update a0SKC000000CmZ2AU --type Sandbox --enable-rollback
|
|
457
|
+
|
|
458
|
+
$ agentia environment update a0SKC000000CmZ2AU --no-run-local-tests
|
|
459
|
+
|
|
460
|
+
$ agentia environment update a0SKC000000CmZ2AU --name UAT --json
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
_See code: [src/commands/environment/update.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/environment/update.ts)_
|
|
163
464
|
|
|
164
465
|
## `agentia help [COMMAND]`
|
|
165
466
|
|
|
166
|
-
Display help for agentia.
|
|
467
|
+
Display help for agentia.
|
|
468
|
+
|
|
469
|
+
```
|
|
470
|
+
USAGE
|
|
471
|
+
$ agentia help [COMMAND...] [-n]
|
|
472
|
+
|
|
473
|
+
ARGUMENTS
|
|
474
|
+
[COMMAND...] Command to show help for.
|
|
475
|
+
|
|
476
|
+
FLAGS
|
|
477
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
478
|
+
|
|
479
|
+
DESCRIPTION
|
|
480
|
+
Display help for agentia.
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/6.2.53/src/commands/help.ts)_
|
|
484
|
+
|
|
485
|
+
## `agentia job get ID`
|
|
486
|
+
|
|
487
|
+
Get a Copado job execution with ordered steps
|
|
488
|
+
|
|
489
|
+
```
|
|
490
|
+
USAGE
|
|
491
|
+
$ agentia job get ID [--json] [--organization-id <value>] [--user-id <value>]
|
|
492
|
+
|
|
493
|
+
ARGUMENTS
|
|
494
|
+
ID JobExecution Id
|
|
495
|
+
|
|
496
|
+
FLAGS
|
|
497
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
498
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
499
|
+
|
|
500
|
+
GLOBAL FLAGS
|
|
501
|
+
--json Format output as json.
|
|
502
|
+
|
|
503
|
+
DESCRIPTION
|
|
504
|
+
Get a Copado job execution with ordered steps
|
|
505
|
+
|
|
506
|
+
EXAMPLES
|
|
507
|
+
$ agentia job get <job-id> --user-id <id> --organization-id <id>
|
|
508
|
+
|
|
509
|
+
$ agentia job get <job-id> --user-id <id> --organization-id <id> --json
|
|
510
|
+
```
|
|
511
|
+
|
|
512
|
+
_See code: [src/commands/job/get.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/job/get.ts)_
|
|
513
|
+
|
|
514
|
+
## `agentia job kill ID`
|
|
515
|
+
|
|
516
|
+
Cancel a Copado job execution
|
|
517
|
+
|
|
518
|
+
```
|
|
519
|
+
USAGE
|
|
520
|
+
$ agentia job kill ID [--json] [--organization-id <value>] [--user-id <value>]
|
|
521
|
+
|
|
522
|
+
ARGUMENTS
|
|
523
|
+
ID JobExecution Id
|
|
524
|
+
|
|
525
|
+
FLAGS
|
|
526
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
527
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
528
|
+
|
|
529
|
+
GLOBAL FLAGS
|
|
530
|
+
--json Format output as json.
|
|
531
|
+
|
|
532
|
+
DESCRIPTION
|
|
533
|
+
Cancel a Copado job execution
|
|
534
|
+
|
|
535
|
+
EXAMPLES
|
|
536
|
+
$ agentia job kill <job-id> --user-id <id> --organization-id <id>
|
|
537
|
+
|
|
538
|
+
$ agentia job kill <job-id> --user-id <id> --organization-id <id> --json
|
|
539
|
+
```
|
|
540
|
+
|
|
541
|
+
_See code: [src/commands/job/kill.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/job/kill.ts)_
|
|
542
|
+
|
|
543
|
+
## `agentia job list`
|
|
544
|
+
|
|
545
|
+
List Copado job executions
|
|
546
|
+
|
|
547
|
+
```
|
|
548
|
+
USAGE
|
|
549
|
+
$ agentia job list [--json] [--organization-id <value>] [--user-id <value>] [--context <value>] [--id
|
|
550
|
+
<value>] [--limit <value>] [--name <value>] [--parent <value>] [--status <value>] [--type <value>]
|
|
551
|
+
|
|
552
|
+
FLAGS
|
|
553
|
+
--context=<value> Contains match on JobExecution context
|
|
554
|
+
--id=<value> Exact JobExecution Id
|
|
555
|
+
--limit=<value> Maximum number of jobs to return (1-200)
|
|
556
|
+
--name=<value> Contains match on JobExecution name
|
|
557
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
558
|
+
--parent=<value> Exact parent record Id
|
|
559
|
+
--status=<value> Exact Copado job status
|
|
560
|
+
--type=<value> Contains match on Job Template name
|
|
561
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
562
|
+
|
|
563
|
+
GLOBAL FLAGS
|
|
564
|
+
--json Format output as json.
|
|
565
|
+
|
|
566
|
+
DESCRIPTION
|
|
567
|
+
List Copado job executions
|
|
568
|
+
|
|
569
|
+
EXAMPLES
|
|
570
|
+
$ agentia job list --user-id <id> --organization-id <id>
|
|
571
|
+
|
|
572
|
+
$ agentia job list --user-id <id> --organization-id <id> --status "In Progress" --limit 50
|
|
573
|
+
|
|
574
|
+
$ agentia job list --user-id <id> --organization-id <id> --name JE- --type Deploy --parent <parent-id>
|
|
575
|
+
|
|
576
|
+
$ agentia job list --user-id <id> --organization-id <id> --json
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
_See code: [src/commands/job/list.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/job/list.ts)_
|
|
580
|
+
|
|
581
|
+
## `agentia job pause ID`
|
|
582
|
+
|
|
583
|
+
Pause a Copado job execution (resumable cancel alias)
|
|
584
|
+
|
|
585
|
+
```
|
|
586
|
+
USAGE
|
|
587
|
+
$ agentia job pause ID [--json] [--organization-id <value>] [--user-id <value>]
|
|
588
|
+
|
|
589
|
+
ARGUMENTS
|
|
590
|
+
ID JobExecution Id
|
|
591
|
+
|
|
592
|
+
FLAGS
|
|
593
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
594
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
595
|
+
|
|
596
|
+
GLOBAL FLAGS
|
|
597
|
+
--json Format output as json.
|
|
598
|
+
|
|
599
|
+
DESCRIPTION
|
|
600
|
+
Pause a Copado job execution (resumable cancel alias)
|
|
601
|
+
|
|
602
|
+
EXAMPLES
|
|
603
|
+
$ agentia job pause <job-id> --user-id <id> --organization-id <id>
|
|
604
|
+
|
|
605
|
+
$ agentia job pause <job-id> --user-id <id> --organization-id <id> --json
|
|
606
|
+
```
|
|
607
|
+
|
|
608
|
+
_See code: [src/commands/job/pause.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/job/pause.ts)_
|
|
609
|
+
|
|
610
|
+
## `agentia job resume ID`
|
|
611
|
+
|
|
612
|
+
Resume outstanding steps for a Copado job execution
|
|
613
|
+
|
|
614
|
+
```
|
|
615
|
+
USAGE
|
|
616
|
+
$ agentia job resume ID [--json] [--organization-id <value>] [--user-id <value>]
|
|
617
|
+
|
|
618
|
+
ARGUMENTS
|
|
619
|
+
ID JobExecution Id
|
|
620
|
+
|
|
621
|
+
FLAGS
|
|
622
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
623
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
624
|
+
|
|
625
|
+
GLOBAL FLAGS
|
|
626
|
+
--json Format output as json.
|
|
627
|
+
|
|
628
|
+
DESCRIPTION
|
|
629
|
+
Resume outstanding steps for a Copado job execution
|
|
630
|
+
|
|
631
|
+
EXAMPLES
|
|
632
|
+
$ agentia job resume <job-id> --user-id <id> --organization-id <id>
|
|
633
|
+
|
|
634
|
+
$ agentia job resume <job-id> --user-id <id> --organization-id <id> --json
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
_See code: [src/commands/job/resume.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/job/resume.ts)_
|
|
638
|
+
|
|
639
|
+
## `agentia job run ID`
|
|
640
|
+
|
|
641
|
+
Run all steps for a Copado job execution
|
|
642
|
+
|
|
643
|
+
```
|
|
644
|
+
USAGE
|
|
645
|
+
$ agentia job run ID [--json] [--organization-id <value>] [--user-id <value>] [--restart]
|
|
646
|
+
|
|
647
|
+
ARGUMENTS
|
|
648
|
+
ID JobExecution Id
|
|
649
|
+
|
|
650
|
+
FLAGS
|
|
651
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
652
|
+
--restart Restart the job run (gateway compatibility flag)
|
|
653
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
654
|
+
|
|
655
|
+
GLOBAL FLAGS
|
|
656
|
+
--json Format output as json.
|
|
657
|
+
|
|
658
|
+
DESCRIPTION
|
|
659
|
+
Run all steps for a Copado job execution
|
|
660
|
+
|
|
661
|
+
EXAMPLES
|
|
662
|
+
$ agentia job run <job-id> --user-id <id> --organization-id <id>
|
|
663
|
+
|
|
664
|
+
$ agentia job run <job-id> --user-id <id> --organization-id <id> --restart --json
|
|
665
|
+
```
|
|
666
|
+
|
|
667
|
+
_See code: [src/commands/job/run.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/job/run.ts)_
|
|
668
|
+
|
|
669
|
+
## `agentia mcp start`
|
|
670
|
+
|
|
671
|
+
Start the local Agentia MCP server over stdio
|
|
167
672
|
|
|
168
673
|
```
|
|
169
674
|
USAGE
|
|
170
|
-
$ agentia
|
|
675
|
+
$ agentia mcp start
|
|
676
|
+
|
|
677
|
+
DESCRIPTION
|
|
678
|
+
Start the local Agentia MCP server over stdio
|
|
679
|
+
|
|
680
|
+
EXAMPLES
|
|
681
|
+
$ agentia mcp start
|
|
682
|
+
|
|
683
|
+
$ agentia mcp start # long-running stdio MCP server for Cursor and other clients
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
_See code: [src/commands/mcp/start.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/mcp/start.ts)_
|
|
687
|
+
|
|
688
|
+
## `agentia metadata content compare`
|
|
689
|
+
|
|
690
|
+
Compare metadata file content between two orgs or Git branches
|
|
691
|
+
|
|
692
|
+
```
|
|
693
|
+
USAGE
|
|
694
|
+
$ agentia metadata content compare --api-name <value> --metadata-type <value> [--json] [--file-name <value>] [--pipeline-id
|
|
695
|
+
<value>] [--source ENVIRONMENT|REPOSITORY|GIT_MIRROR|ORG_CACHE] [--source-branch <value>] [--source-credential-id
|
|
696
|
+
<value>] [--source-org-id <value>] [--target-branch <value>] [--target-credential-id <value>] [--target-org-id
|
|
697
|
+
<value>] [--target-source ENVIRONMENT|REPOSITORY|GIT_MIRROR|ORG_CACHE]
|
|
698
|
+
|
|
699
|
+
FLAGS
|
|
700
|
+
--api-name=<value> (required) Metadata API name
|
|
701
|
+
--file-name=<value> Optional metadata file name
|
|
702
|
+
--metadata-type=<value> (required) Metadata type, for example ApexClass
|
|
703
|
+
--pipeline-id=<value> Pipeline Id
|
|
704
|
+
--source=<option> [default: ENVIRONMENT] Content source for the source side
|
|
705
|
+
<options: ENVIRONMENT|REPOSITORY|GIT_MIRROR|ORG_CACHE>
|
|
706
|
+
--source-branch=<value> Git branch for the source side when source is REPOSITORY or GIT_MIRROR
|
|
707
|
+
--source-credential-id=<value> Source org credential Id
|
|
708
|
+
--source-org-id=<value> Source org Id
|
|
709
|
+
--target-branch=<value> Git branch for the target side when target source is REPOSITORY or GIT_MIRROR
|
|
710
|
+
--target-credential-id=<value> Target org credential Id; defaults to the source credential
|
|
711
|
+
--target-org-id=<value> Target org Id
|
|
712
|
+
--target-source=<option> [default: ENVIRONMENT] Content source for the target side
|
|
713
|
+
<options: ENVIRONMENT|REPOSITORY|GIT_MIRROR|ORG_CACHE>
|
|
714
|
+
|
|
715
|
+
GLOBAL FLAGS
|
|
716
|
+
--json Format output as json.
|
|
717
|
+
|
|
718
|
+
DESCRIPTION
|
|
719
|
+
Compare metadata file content between two orgs or Git branches
|
|
720
|
+
|
|
721
|
+
EXAMPLES
|
|
722
|
+
$ agentia metadata content compare --metadata-type ApexClass --api-name MyClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>
|
|
723
|
+
|
|
724
|
+
$ agentia metadata content compare --metadata-type ApexClass --api-name MyClass --source REPOSITORY --source-branch feature/us-123 --target-source REPOSITORY --target-branch main
|
|
725
|
+
|
|
726
|
+
$ agentia metadata content compare --metadata-type ApexClass --api-name MyClass --json
|
|
727
|
+
```
|
|
728
|
+
|
|
729
|
+
_See code: [src/commands/metadata/content/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/metadata/content/compare.ts)_
|
|
730
|
+
|
|
731
|
+
## `agentia metadata content get`
|
|
732
|
+
|
|
733
|
+
Retrieve metadata file content via the CICD gateway
|
|
734
|
+
|
|
735
|
+
```
|
|
736
|
+
USAGE
|
|
737
|
+
$ agentia metadata content get [--json] [--api-name <value>] [--branch <value>] [--file <value>] [--file-name <value>]
|
|
738
|
+
[--metadata-type <value>] [--output-file <value>] [--pipeline-id <value>] [--result-id <value>] [--show] [--source
|
|
739
|
+
ENVIRONMENT|REPOSITORY|GIT_MIRROR|ORG_CACHE] [--source-credential-id <value>] [--source-org-id <value>]
|
|
740
|
+
|
|
741
|
+
FLAGS
|
|
742
|
+
--api-name=<value> Metadata API name
|
|
743
|
+
--branch=<value> Git branch when source is REPOSITORY or GIT_MIRROR
|
|
744
|
+
--file=<value> Path to a JSON file with an array of metadata content requests
|
|
745
|
+
--file-name=<value> Optional metadata file name
|
|
746
|
+
--metadata-type=<value> Metadata type, for example ApexClass
|
|
747
|
+
--output-file=<value> Write decoded content from the first result to this file path
|
|
748
|
+
--pipeline-id=<value> Pipeline Id
|
|
749
|
+
--result-id=<value> Optional result Id from a prior metadata operation
|
|
750
|
+
--show Print decoded metadata content to stdout after retrieval
|
|
751
|
+
--source=<option> [default: ENVIRONMENT] Content source
|
|
752
|
+
<options: ENVIRONMENT|REPOSITORY|GIT_MIRROR|ORG_CACHE>
|
|
753
|
+
--source-credential-id=<value> Source org credential Id
|
|
754
|
+
--source-org-id=<value> Source org Id
|
|
755
|
+
|
|
756
|
+
GLOBAL FLAGS
|
|
757
|
+
--json Format output as json.
|
|
758
|
+
|
|
759
|
+
DESCRIPTION
|
|
760
|
+
Retrieve metadata file content via the CICD gateway
|
|
761
|
+
|
|
762
|
+
EXAMPLES
|
|
763
|
+
$ agentia metadata content get --metadata-type ApexClass --api-name MyClass --pipeline-id <id> --source-org-id <id>
|
|
764
|
+
|
|
765
|
+
$ agentia metadata content get --metadata-type ApexClass --api-name MyClass --show
|
|
766
|
+
|
|
767
|
+
$ agentia metadata content get --file requests.json --json
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
_See code: [src/commands/metadata/content/get.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/metadata/content/get.ts)_
|
|
771
|
+
|
|
772
|
+
## `agentia metadata dependency list`
|
|
773
|
+
|
|
774
|
+
Retrieve metadata dependencies via the CICD gateway
|
|
775
|
+
|
|
776
|
+
```
|
|
777
|
+
USAGE
|
|
778
|
+
$ agentia metadata dependency list [--json] [--base-ref <value>] [-f <value>] [--from-changes] [--metadata-category <value>]
|
|
779
|
+
[--metadata-name <value>] [--metadata-raw-json <value>] [--metadata-type <value>] [--module-type vlocity|data_cloud]
|
|
780
|
+
[--pipeline-id <value>] [--platform-experience salesforce|sfdx|metacache|db] [--result-id <value>] [--retrieve-mode
|
|
781
|
+
all|diff_only] [--source-credential-id <value>] [--source-org-id <value>] [--stdin] [--target-org-id <value>]
|
|
782
|
+
|
|
783
|
+
FLAGS
|
|
784
|
+
-f, --file=<value> Path to a JSON dependency request body
|
|
785
|
+
--base-ref=<value> [default: origin/main] Base Git ref used with --from-changes
|
|
786
|
+
--from-changes Build metadata selections from changed Git files
|
|
787
|
+
--metadata-category=<value> Optional metadata category
|
|
788
|
+
--metadata-name=<value> Metadata component name
|
|
789
|
+
--metadata-raw-json=<value> Optional raw metadata JSON for the selection
|
|
790
|
+
--metadata-type=<value> Metadata type, for example ApexClass
|
|
791
|
+
--module-type=<option> Optional addon module type
|
|
792
|
+
<options: vlocity|data_cloud>
|
|
793
|
+
--pipeline-id=<value> Pipeline Id
|
|
794
|
+
--platform-experience=<option> [default: salesforce] Gateway platform experience header
|
|
795
|
+
<options: salesforce|sfdx|metacache|db>
|
|
796
|
+
--result-id=<value> Optional result Id from a prior metadata operation
|
|
797
|
+
--retrieve-mode=<option> Dependency retrieve mode
|
|
798
|
+
<options: all|diff_only>
|
|
799
|
+
--source-credential-id=<value> Source org credential Id
|
|
800
|
+
--source-org-id=<value> Source org Id
|
|
801
|
+
--stdin Read a JSON dependency request body from stdin
|
|
802
|
+
--target-org-id=<value> Target org Id
|
|
803
|
+
|
|
804
|
+
GLOBAL FLAGS
|
|
805
|
+
--json Format output as json.
|
|
806
|
+
|
|
807
|
+
DESCRIPTION
|
|
808
|
+
Retrieve metadata dependencies via the CICD gateway
|
|
809
|
+
|
|
810
|
+
EXAMPLES
|
|
811
|
+
$ agentia metadata dependency list --metadata-name MyClass --metadata-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id>
|
|
812
|
+
|
|
813
|
+
cat request.json | agentia metadata dependency list --stdin
|
|
814
|
+
|
|
815
|
+
$ agentia metadata dependency list --from-changes --base-ref origin/main --retrieve-mode all --pipeline-id <id> --source-org-id <id> --source-credential-id <id>
|
|
816
|
+
```
|
|
817
|
+
|
|
818
|
+
_See code: [src/commands/metadata/dependency/list.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/metadata/dependency/list.ts)_
|
|
819
|
+
|
|
820
|
+
## `agentia metadata index compare`
|
|
821
|
+
|
|
822
|
+
Compare metadata between orgs or Git branches
|
|
823
|
+
|
|
824
|
+
```
|
|
825
|
+
USAGE
|
|
826
|
+
$ agentia metadata index compare [--json] [--comparison-mode BRANCH_COMPARE|INDEX_FILE|MIX] [--filter-type <value>]
|
|
827
|
+
[--pipeline-id <value>] [--source-credential-id <value>] [--source-org-id <value>] [--target-org-id <value>]
|
|
828
|
+
|
|
829
|
+
FLAGS
|
|
830
|
+
--comparison-mode=<option> [default: BRANCH_COMPARE] Comparison mode
|
|
831
|
+
<options: BRANCH_COMPARE|INDEX_FILE|MIX>
|
|
832
|
+
--filter-type=<value> Optional metadata type filter, for example ApexClass
|
|
833
|
+
--pipeline-id=<value> Pipeline Id
|
|
834
|
+
--source-credential-id=<value> Source org credential Id
|
|
835
|
+
--source-org-id=<value> Source org Id
|
|
836
|
+
--target-org-id=<value> Target org Id
|
|
837
|
+
|
|
838
|
+
GLOBAL FLAGS
|
|
839
|
+
--json Format output as json.
|
|
840
|
+
|
|
841
|
+
DESCRIPTION
|
|
842
|
+
Compare metadata between orgs or Git branches
|
|
843
|
+
|
|
844
|
+
EXAMPLES
|
|
845
|
+
$ agentia metadata index compare --comparison-mode BRANCH_COMPARE --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>
|
|
846
|
+
|
|
847
|
+
$ agentia metadata index compare --comparison-mode INDEX_FILE --filter-type ApexClass --pipeline-id <id> --source-org-id <id> --source-credential-id <id> --target-org-id <id>
|
|
848
|
+
|
|
849
|
+
$ agentia metadata index compare --comparison-mode MIX --json
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
_See code: [src/commands/metadata/index/compare.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/metadata/index/compare.ts)_
|
|
853
|
+
|
|
854
|
+
## `agentia metadata list`
|
|
855
|
+
|
|
856
|
+
Search the metadata index for an org via the CICD gateway
|
|
857
|
+
|
|
858
|
+
```
|
|
859
|
+
USAGE
|
|
860
|
+
$ agentia metadata list [--json] [--avoid-source-tracking] [--filter-type <value>] [--find-managed-packages]
|
|
861
|
+
[--limit <value>] [--metadata-types <value>] [--modified-by <value>] [--module-type vlocity|data_cloud]
|
|
862
|
+
[--order-direction ASC|DESC] [--pipeline-id <value>] [--platform-experience salesforce|sfdx|metacache|db] [--source
|
|
863
|
+
All|Changed|Deleted|New|NewAndChanged|PreviouslyCommitted] [--source-credential-id <value>] [--source-org-id
|
|
864
|
+
<value>] [--target-org-id <value>]
|
|
865
|
+
|
|
866
|
+
FLAGS
|
|
867
|
+
--avoid-source-tracking Pass avoidSourceTracking=true to the gateway index route
|
|
868
|
+
--filter-type=<value> Optional metadata type name filter, for example ApexClass
|
|
869
|
+
--find-managed-packages Include managed package metadata in the search
|
|
870
|
+
--limit=<value> Maximum number of records to return
|
|
871
|
+
--metadata-types=<value> Optional comma-separated metadata types to include
|
|
872
|
+
--modified-by=<value> Filter by last modified user
|
|
873
|
+
--module-type=<option> Optional addon module type
|
|
874
|
+
<options: vlocity|data_cloud>
|
|
875
|
+
--order-direction=<option> Sort direction for last modified date
|
|
876
|
+
<options: ASC|DESC>
|
|
877
|
+
--pipeline-id=<value> Pipeline Id
|
|
878
|
+
--platform-experience=<option> [default: salesforce] Gateway platform experience header
|
|
879
|
+
<options: salesforce|sfdx|metacache|db>
|
|
880
|
+
--source=<option> Index source filter
|
|
881
|
+
<options: All|Changed|Deleted|New|NewAndChanged|PreviouslyCommitted>
|
|
882
|
+
--source-credential-id=<value> Source org credential Id
|
|
883
|
+
--source-org-id=<value> Source org Id
|
|
884
|
+
--target-org-id=<value> Optional target org Id
|
|
885
|
+
|
|
886
|
+
GLOBAL FLAGS
|
|
887
|
+
--json Format output as json.
|
|
888
|
+
|
|
889
|
+
DESCRIPTION
|
|
890
|
+
Search the metadata index for an org via the CICD gateway
|
|
891
|
+
|
|
892
|
+
EXAMPLES
|
|
893
|
+
$ agentia metadata list --pipeline-id <id> --source-org-id <id> --source-credential-id <id>
|
|
894
|
+
|
|
895
|
+
$ agentia metadata list --source Changed --metadata-types ApexClass --limit 100 --pipeline-id <id> --source-org-id <id> --source-credential-id <id>
|
|
896
|
+
|
|
897
|
+
$ agentia metadata list --source NewAndChanged --find-managed-packages --json
|
|
898
|
+
```
|
|
899
|
+
|
|
900
|
+
_See code: [src/commands/metadata/list.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/metadata/list.ts)_
|
|
901
|
+
|
|
902
|
+
## `agentia metadata refresh deleted`
|
|
903
|
+
|
|
904
|
+
Refresh the deleted metadata index via the CICD gateway
|
|
905
|
+
|
|
906
|
+
```
|
|
907
|
+
USAGE
|
|
908
|
+
$ agentia metadata refresh deleted [--json] [--organization-id <value>] [--user-id <value>] [--env <value>] [--module-type
|
|
909
|
+
vlocity|data_cloud] [--source-credential-id <value>] [--source-org-id <value>]
|
|
910
|
+
|
|
911
|
+
FLAGS
|
|
912
|
+
--env=<value> Copado environment Id used to resolve the credential
|
|
913
|
+
--module-type=<option> Optional addon module type
|
|
914
|
+
<options: vlocity|data_cloud>
|
|
915
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
916
|
+
--source-credential-id=<value> Override source credential Id resolved from --env
|
|
917
|
+
--source-org-id=<value> Override source org Id resolved from --env validation
|
|
918
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
919
|
+
|
|
920
|
+
GLOBAL FLAGS
|
|
921
|
+
--json Format output as json.
|
|
922
|
+
|
|
923
|
+
DESCRIPTION
|
|
924
|
+
Refresh the deleted metadata index via the CICD gateway
|
|
925
|
+
|
|
926
|
+
EXAMPLES
|
|
927
|
+
$ agentia metadata refresh deleted --env <environment-id> --user-id <id> --organization-id <id>
|
|
928
|
+
|
|
929
|
+
$ agentia metadata refresh deleted --env <environment-id> --user-id <id> --organization-id <id> --module-type vlocity --json
|
|
930
|
+
```
|
|
931
|
+
|
|
932
|
+
_See code: [src/commands/metadata/refresh/deleted.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/metadata/refresh/deleted.ts)_
|
|
933
|
+
|
|
934
|
+
## `agentia metadata refresh run`
|
|
935
|
+
|
|
936
|
+
Trigger a metadata index refresh via the CICD gateway
|
|
937
|
+
|
|
938
|
+
```
|
|
939
|
+
USAGE
|
|
940
|
+
$ agentia metadata refresh run [--json] [--organization-id <value>] [--user-id <value>] [--all] [--env <value>]
|
|
941
|
+
[--git-files <value>] [--module-type vlocity|data_cloud] [--pipeline-id <value>] [--platform-experience
|
|
942
|
+
salesforce|sfdx|metacache|db] [--refresh-mode <value>] [--selected-name <value>] [--selected-type <value>]
|
|
943
|
+
[--source-credential-id <value>] [--source-org-id <value>] [--target-org-id <value>]
|
|
944
|
+
|
|
945
|
+
FLAGS
|
|
946
|
+
--all Request replacing the metadata index instead of merging it
|
|
947
|
+
--env=<value> Copado environment Id used to resolve source org and credential
|
|
948
|
+
--git-files=<value> Comma-separated Git file paths to refresh
|
|
949
|
+
--module-type=<option> Optional addon module type
|
|
950
|
+
<options: vlocity|data_cloud>
|
|
951
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
952
|
+
--pipeline-id=<value> Optional pipeline Id
|
|
953
|
+
--platform-experience=<option> [default: salesforce] Gateway platform experience header
|
|
954
|
+
<options: salesforce|sfdx|metacache|db>
|
|
955
|
+
--refresh-mode=<value> Optional refresh mode
|
|
956
|
+
--selected-name=<value> Optional selected metadata API name
|
|
957
|
+
--selected-type=<value> Optional selected metadata type
|
|
958
|
+
--source-credential-id=<value> Override source credential Id resolved from --env
|
|
959
|
+
--source-org-id=<value> Override source org Id resolved from --env
|
|
960
|
+
--target-org-id=<value> Optional target org Id
|
|
961
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
962
|
+
|
|
963
|
+
GLOBAL FLAGS
|
|
964
|
+
--json Format output as json.
|
|
965
|
+
|
|
966
|
+
DESCRIPTION
|
|
967
|
+
Trigger a metadata index refresh via the CICD gateway
|
|
968
|
+
|
|
969
|
+
EXAMPLES
|
|
970
|
+
$ agentia metadata refresh run --env <environment-id> --user-id <id> --organization-id <id>
|
|
971
|
+
|
|
972
|
+
$ agentia metadata refresh run --env <environment-id> --user-id <id> --organization-id <id> --all --json
|
|
973
|
+
```
|
|
974
|
+
|
|
975
|
+
_See code: [src/commands/metadata/refresh/run.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/metadata/refresh/run.ts)_
|
|
976
|
+
|
|
977
|
+
## `agentia metadata refresh status`
|
|
978
|
+
|
|
979
|
+
Get metadata index refresh status via the CICD gateway
|
|
980
|
+
|
|
981
|
+
```
|
|
982
|
+
USAGE
|
|
983
|
+
$ agentia metadata refresh status [--json] [--organization-id <value>] [--user-id <value>] [--job-id <value>]
|
|
984
|
+
[--module-type vlocity|data_cloud] [--platform-experience salesforce|sfdx|metacache|db]
|
|
985
|
+
|
|
986
|
+
FLAGS
|
|
987
|
+
--job-id=<value> Metadata refresh event Id
|
|
988
|
+
--module-type=<option> Optional addon module type used by the trigger request
|
|
989
|
+
<options: vlocity|data_cloud>
|
|
990
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
991
|
+
--platform-experience=<option> [default: salesforce] Gateway platform experience header used by the trigger request
|
|
992
|
+
<options: salesforce|sfdx|metacache|db>
|
|
993
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
994
|
+
|
|
995
|
+
GLOBAL FLAGS
|
|
996
|
+
--json Format output as json.
|
|
997
|
+
|
|
998
|
+
DESCRIPTION
|
|
999
|
+
Get metadata index refresh status via the CICD gateway
|
|
1000
|
+
|
|
1001
|
+
EXAMPLES
|
|
1002
|
+
$ agentia metadata refresh status --job-id <event-id> --user-id <id> --organization-id <id>
|
|
1003
|
+
|
|
1004
|
+
$ agentia metadata refresh status --job-id <event-id> --user-id <id> --organization-id <id> --json
|
|
1005
|
+
```
|
|
1006
|
+
|
|
1007
|
+
_See code: [src/commands/metadata/refresh/status.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/metadata/refresh/status.ts)_
|
|
1008
|
+
|
|
1009
|
+
## `agentia pipeline connection list`
|
|
1010
|
+
|
|
1011
|
+
List connections for a Copado pipeline
|
|
1012
|
+
|
|
1013
|
+
```
|
|
1014
|
+
USAGE
|
|
1015
|
+
$ agentia pipeline connection list --pipeline-id <value> [--json] [--organization-id <value>] [--user-id <value>]
|
|
1016
|
+
|
|
1017
|
+
FLAGS
|
|
1018
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
1019
|
+
--pipeline-id=<value> (required) Pipeline Id whose connections should be listed
|
|
1020
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
1021
|
+
|
|
1022
|
+
GLOBAL FLAGS
|
|
1023
|
+
--json Format output as json.
|
|
1024
|
+
|
|
1025
|
+
DESCRIPTION
|
|
1026
|
+
List connections for a Copado pipeline
|
|
1027
|
+
|
|
1028
|
+
EXAMPLES
|
|
1029
|
+
$ agentia pipeline connection list --pipeline-id <pipeline-id> --user-id <id> --organization-id <id>
|
|
1030
|
+
|
|
1031
|
+
$ agentia pipeline connection list --pipeline-id <pipeline-id> --user-id <id> --organization-id <id> --json
|
|
1032
|
+
```
|
|
1033
|
+
|
|
1034
|
+
_See code: [src/commands/pipeline/connection/list.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/pipeline/connection/list.ts)_
|
|
1035
|
+
|
|
1036
|
+
## `agentia pipeline get ID`
|
|
1037
|
+
|
|
1038
|
+
Get a Copado pipeline
|
|
1039
|
+
|
|
1040
|
+
```
|
|
1041
|
+
USAGE
|
|
1042
|
+
$ agentia pipeline get ID [--json] [--organization-id <value>] [--user-id <value>]
|
|
171
1043
|
|
|
172
1044
|
ARGUMENTS
|
|
173
|
-
|
|
1045
|
+
ID Pipeline Id
|
|
174
1046
|
|
|
175
1047
|
FLAGS
|
|
176
|
-
|
|
1048
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
1049
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
1050
|
+
|
|
1051
|
+
GLOBAL FLAGS
|
|
1052
|
+
--json Format output as json.
|
|
177
1053
|
|
|
178
1054
|
DESCRIPTION
|
|
179
|
-
|
|
1055
|
+
Get a Copado pipeline
|
|
1056
|
+
|
|
1057
|
+
EXAMPLES
|
|
1058
|
+
$ agentia pipeline get <pipeline-id> --user-id <id> --organization-id <id>
|
|
1059
|
+
|
|
1060
|
+
$ agentia pipeline get <pipeline-id> --user-id <id> --organization-id <id> --json
|
|
180
1061
|
```
|
|
181
1062
|
|
|
182
|
-
_See code: [
|
|
1063
|
+
_See code: [src/commands/pipeline/get.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/pipeline/get.ts)_
|
|
1064
|
+
|
|
1065
|
+
## `agentia pipeline list`
|
|
1066
|
+
|
|
1067
|
+
List Copado pipelines
|
|
1068
|
+
|
|
1069
|
+
```
|
|
1070
|
+
USAGE
|
|
1071
|
+
$ agentia pipeline list [--json] [--organization-id <value>] [--user-id <value>]
|
|
1072
|
+
|
|
1073
|
+
FLAGS
|
|
1074
|
+
--organization-id=<value> Organization Id for the x-organization-id gateway header
|
|
1075
|
+
--user-id=<value> User Id for the x-user-id gateway header
|
|
1076
|
+
|
|
1077
|
+
GLOBAL FLAGS
|
|
1078
|
+
--json Format output as json.
|
|
1079
|
+
|
|
1080
|
+
DESCRIPTION
|
|
1081
|
+
List Copado pipelines
|
|
1082
|
+
|
|
1083
|
+
EXAMPLES
|
|
1084
|
+
$ agentia pipeline list --user-id <id> --organization-id <id>
|
|
1085
|
+
|
|
1086
|
+
$ agentia pipeline list --user-id <id> --organization-id <id> --json
|
|
1087
|
+
```
|
|
1088
|
+
|
|
1089
|
+
_See code: [src/commands/pipeline/list.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/pipeline/list.ts)_
|
|
183
1090
|
|
|
184
1091
|
## `agentia plugins`
|
|
185
1092
|
|
|
@@ -470,4 +1377,115 @@ DESCRIPTION
|
|
|
470
1377
|
```
|
|
471
1378
|
|
|
472
1379
|
_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/5.4.84/src/commands/plugins/update.ts)_
|
|
1380
|
+
|
|
1381
|
+
## `agentia project default get`
|
|
1382
|
+
|
|
1383
|
+
Show project default values for the current project or globally
|
|
1384
|
+
|
|
1385
|
+
```
|
|
1386
|
+
USAGE
|
|
1387
|
+
$ agentia project default get [--json] [--assign-me] [--environment] [--epic] [--feature] [--global] [--project]
|
|
1388
|
+
[--sprint] [--team]
|
|
1389
|
+
|
|
1390
|
+
FLAGS
|
|
1391
|
+
--assign-me Select the assign-me default
|
|
1392
|
+
--environment Select the default environment
|
|
1393
|
+
--epic Select the default epic
|
|
1394
|
+
--feature Select the default feature
|
|
1395
|
+
--global Use machine-wide defaults instead of project-local defaults
|
|
1396
|
+
--project Select the default project
|
|
1397
|
+
--sprint Select the default sprint
|
|
1398
|
+
--team Select the default team
|
|
1399
|
+
|
|
1400
|
+
GLOBAL FLAGS
|
|
1401
|
+
--json Format output as json.
|
|
1402
|
+
|
|
1403
|
+
DESCRIPTION
|
|
1404
|
+
Show project default values for the current project or globally
|
|
1405
|
+
|
|
1406
|
+
EXAMPLES
|
|
1407
|
+
$ agentia project default get
|
|
1408
|
+
|
|
1409
|
+
$ agentia project default get --project --environment
|
|
1410
|
+
|
|
1411
|
+
$ agentia project default get --global
|
|
1412
|
+
|
|
1413
|
+
$ agentia project default get --json
|
|
1414
|
+
```
|
|
1415
|
+
|
|
1416
|
+
_See code: [src/commands/project/default/get.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/project/default/get.ts)_
|
|
1417
|
+
|
|
1418
|
+
## `agentia project default set`
|
|
1419
|
+
|
|
1420
|
+
Set project default values for the current project or globally
|
|
1421
|
+
|
|
1422
|
+
```
|
|
1423
|
+
USAGE
|
|
1424
|
+
$ agentia project default set [--json] [--environment <value>] [--epic <value>] [--feature <value>] [--project <value>]
|
|
1425
|
+
[--sprint <value>] [--team <value>] [--assign-me] [--global]
|
|
1426
|
+
|
|
1427
|
+
FLAGS
|
|
1428
|
+
--assign-me Assign work items to the current user by default
|
|
1429
|
+
--environment=<value> Default environment
|
|
1430
|
+
--epic=<value> Default epic
|
|
1431
|
+
--feature=<value> Default feature
|
|
1432
|
+
--global Use machine-wide defaults instead of project-local defaults
|
|
1433
|
+
--project=<value> Default project
|
|
1434
|
+
--sprint=<value> Default sprint
|
|
1435
|
+
--team=<value> Default team
|
|
1436
|
+
|
|
1437
|
+
GLOBAL FLAGS
|
|
1438
|
+
--json Format output as json.
|
|
1439
|
+
|
|
1440
|
+
DESCRIPTION
|
|
1441
|
+
Set project default values for the current project or globally
|
|
1442
|
+
|
|
1443
|
+
EXAMPLES
|
|
1444
|
+
$ agentia project default set --project my-project --team platform
|
|
1445
|
+
|
|
1446
|
+
$ agentia project default set --environment dev --assign-me
|
|
1447
|
+
|
|
1448
|
+
$ agentia project default set --project my-project --global
|
|
1449
|
+
|
|
1450
|
+
$ agentia project default set --project my-project --json
|
|
1451
|
+
```
|
|
1452
|
+
|
|
1453
|
+
_See code: [src/commands/project/default/set.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/project/default/set.ts)_
|
|
1454
|
+
|
|
1455
|
+
## `agentia project default unset`
|
|
1456
|
+
|
|
1457
|
+
Remove project default values from the current project or globally
|
|
1458
|
+
|
|
1459
|
+
```
|
|
1460
|
+
USAGE
|
|
1461
|
+
$ agentia project default unset [--json] [--assign-me] [--environment] [--epic] [--feature] [--global] [--project]
|
|
1462
|
+
[--sprint] [--team]
|
|
1463
|
+
|
|
1464
|
+
FLAGS
|
|
1465
|
+
--assign-me Select the assign-me default
|
|
1466
|
+
--environment Select the default environment
|
|
1467
|
+
--epic Select the default epic
|
|
1468
|
+
--feature Select the default feature
|
|
1469
|
+
--global Use machine-wide defaults instead of project-local defaults
|
|
1470
|
+
--project Select the default project
|
|
1471
|
+
--sprint Select the default sprint
|
|
1472
|
+
--team Select the default team
|
|
1473
|
+
|
|
1474
|
+
GLOBAL FLAGS
|
|
1475
|
+
--json Format output as json.
|
|
1476
|
+
|
|
1477
|
+
DESCRIPTION
|
|
1478
|
+
Remove project default values from the current project or globally
|
|
1479
|
+
|
|
1480
|
+
EXAMPLES
|
|
1481
|
+
$ agentia project default unset --project
|
|
1482
|
+
|
|
1483
|
+
$ agentia project default unset --environment --team
|
|
1484
|
+
|
|
1485
|
+
$ agentia project default unset --assign-me --global
|
|
1486
|
+
|
|
1487
|
+
$ agentia project default unset --project --json
|
|
1488
|
+
```
|
|
1489
|
+
|
|
1490
|
+
_See code: [src/commands/project/default/unset.ts](https://github.com/Copado/agentia-cli/blob/v0.7.0-alpha.0/src/commands/project/default/unset.ts)_
|
|
473
1491
|
<!-- commandsstop -->
|