@copado/agentia-cli 0.5.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 +1106 -83
- 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 -2
package/README.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
agentia-cli
|
|
1
|
+
@copado/agentia-cli
|
|
2
2
|
=================
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
Command-line interface for Agentia headless Copado workflows (auth, environments, jobs, pipelines, metadata, and local MCP).
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
[](https://oclif.io)
|
|
8
|
-
[](https://www.npmjs.com/package/@copado/agentia-cli)
|
|
9
|
+
[](https://www.npmjs.com/package/@copado/agentia-cli)
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
<!-- toc -->
|
|
13
13
|
* [Usage](#usage)
|
|
14
14
|
* [Integration Testing](#integration-testing)
|
|
15
15
|
* [Local MCP Server](#local-mcp-server)
|
|
16
|
+
* [License](#license)
|
|
16
17
|
* [Commands](#commands)
|
|
17
18
|
<!-- tocstop -->
|
|
18
19
|
# Usage
|
|
@@ -22,7 +23,7 @@ $ npm install -g @copado/agentia-cli
|
|
|
22
23
|
$ agentia COMMAND
|
|
23
24
|
running command...
|
|
24
25
|
$ agentia (--version)
|
|
25
|
-
@copado/agentia-cli/0.
|
|
26
|
+
@copado/agentia-cli/0.7.0-alpha.0 linux-x64 node-v22.23.1
|
|
26
27
|
$ agentia --help [COMMAND]
|
|
27
28
|
USAGE
|
|
28
29
|
$ agentia COMMAND
|
|
@@ -50,131 +51,1042 @@ Agentia can run as a local Model Context Protocol (MCP) server over stdio. MCP-c
|
|
|
50
51
|
1. Install or link the CLI so `agentia` is available:
|
|
51
52
|
|
|
52
53
|
```sh-session
|
|
53
|
-
$ npm install -g agentia-cli
|
|
54
|
+
$ npm install -g @copado/agentia-cli
|
|
54
55
|
$ npm run build && npm link
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
2. Store CICD credentials. The MCP server reuses the same keychain-backed auth as the CLI:
|
|
58
|
+
2. Store CICD credentials. The MCP server reuses the same keychain-backed auth as the CLI:
|
|
59
|
+
|
|
60
|
+
```sh-session
|
|
61
|
+
$ agentia auth set --cicd <api-key> --custom-url https://test.api.copado.com
|
|
62
|
+
$ agentia auth get
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
3. Confirm the MCP command is available:
|
|
66
|
+
|
|
67
|
+
```sh-session
|
|
68
|
+
$ agentia mcp --help
|
|
69
|
+
$ agentia mcp start --help
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Start the server
|
|
73
|
+
|
|
74
|
+
```sh-session
|
|
75
|
+
$ agentia mcp start
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
This command is long-running. It speaks MCP over stdio and waits for a client connection. Do not expect interactive terminal output after start.
|
|
79
|
+
|
|
80
|
+
## Configure Cursor
|
|
81
|
+
|
|
82
|
+
Add an MCP server entry that launches Agentia:
|
|
83
|
+
|
|
84
|
+
```json
|
|
85
|
+
{
|
|
86
|
+
"mcpServers": {
|
|
87
|
+
"agentia": {
|
|
88
|
+
"command": "agentia",
|
|
89
|
+
"args": ["mcp", "start"]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
If Cursor cannot resolve `agentia` on `PATH`, use the absolute binary from this repo:
|
|
96
|
+
|
|
97
|
+
```json
|
|
98
|
+
{
|
|
99
|
+
"mcpServers": {
|
|
100
|
+
"agentia": {
|
|
101
|
+
"command": "/absolute/path/to/agentia-headless/cli/bin/run.js",
|
|
102
|
+
"args": ["mcp", "start"]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
After saving the config, reload MCP servers in Cursor. The Agentia tools should appear in the MCP tool list.
|
|
109
|
+
|
|
110
|
+
For local development, rebuild after code changes so Cursor picks up the latest `dist` output:
|
|
111
|
+
|
|
112
|
+
```sh-session
|
|
113
|
+
$ npm run build
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Available tools
|
|
117
|
+
|
|
118
|
+
Tools are JSON-safe and return structured results. Sensitive fields are redacted.
|
|
119
|
+
|
|
120
|
+
| Topic | Tools |
|
|
121
|
+
| --- | --- |
|
|
122
|
+
| Environment | `agentia_environment_list`, `agentia_environment_get`, `agentia_environment_create`, `agentia_environment_update` |
|
|
123
|
+
| Job | `agentia_job_list`, `agentia_job_get`, `agentia_job_run`, `agentia_job_resume`, `agentia_job_kill`, `agentia_job_pause` |
|
|
124
|
+
| Pipeline | `agentia_pipeline_list`, `agentia_pipeline_get`, `agentia_pipeline_connection_list` |
|
|
125
|
+
| Project | `agentia_project_default_get`, `agentia_project_default_set`, `agentia_project_default_unset` |
|
|
126
|
+
| Metadata | `agentia_metadata_list`, `agentia_metadata_content_get`, `agentia_metadata_content_compare`, `agentia_metadata_index_compare`, `agentia_metadata_dependency_list` |
|
|
127
|
+
|
|
128
|
+
### Notes for common tools
|
|
129
|
+
|
|
130
|
+
- Pipeline and job tools require `userId` and `organizationId` for the gateway `x-user-id` and `x-organization-id` headers.
|
|
131
|
+
- Job list accepts optional filters such as `status`, `name`, `type`, `parent`, `context`, and `limit`.
|
|
132
|
+
- Metadata tools require the same gateway identifiers as the CLI flags, for example `pipelineId`, `sourceOrgId`, and `sourceCredentialId` where applicable.
|
|
133
|
+
- Project default tools read and write local or global defaults managed by `agentia project default *`.
|
|
134
|
+
- Environment create/update tools mirror the corresponding CLI commands and only send fields you provide.
|
|
135
|
+
|
|
136
|
+
## Verify locally
|
|
137
|
+
|
|
138
|
+
Unit coverage for MCP registration and redaction:
|
|
139
|
+
|
|
140
|
+
```sh-session
|
|
141
|
+
$ npm test -- --grep 'mcp'
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
Live smoke check through Cursor: call `agentia_environment_list` or `agentia_project_default_get` after auth is configured. For pipeline and metadata tools, use Test14 IDs from your local `.env.integration`.
|
|
145
|
+
|
|
146
|
+
# License
|
|
147
|
+
|
|
148
|
+
Agentia CLI is distributed under the Copado End User License Agreement. See [LICENSE.md](LICENSE.md) for the full license terms.
|
|
149
|
+
|
|
150
|
+
# Commands
|
|
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)
|
|
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)
|
|
179
|
+
* [`agentia plugins`](#agentia-plugins)
|
|
180
|
+
* [`agentia plugins add PLUGIN`](#agentia-plugins-add-plugin)
|
|
181
|
+
* [`agentia plugins:inspect PLUGIN...`](#agentia-pluginsinspect-plugin)
|
|
182
|
+
* [`agentia plugins install PLUGIN`](#agentia-plugins-install-plugin)
|
|
183
|
+
* [`agentia plugins link PATH`](#agentia-plugins-link-path)
|
|
184
|
+
* [`agentia plugins remove [PLUGIN]`](#agentia-plugins-remove-plugin)
|
|
185
|
+
* [`agentia plugins reset`](#agentia-plugins-reset)
|
|
186
|
+
* [`agentia plugins uninstall [PLUGIN]`](#agentia-plugins-uninstall-plugin)
|
|
187
|
+
* [`agentia plugins unlink [PLUGIN]`](#agentia-plugins-unlink-plugin)
|
|
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)_
|
|
464
|
+
|
|
465
|
+
## `agentia help [COMMAND]`
|
|
466
|
+
|
|
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
|
|
672
|
+
|
|
673
|
+
```
|
|
674
|
+
USAGE
|
|
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
|
|
58
775
|
|
|
59
|
-
```sh-session
|
|
60
|
-
$ agentia auth set --cicd <api-key> --custom-url https://test.api.copado.com
|
|
61
|
-
$ agentia auth get
|
|
62
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>]
|
|
63
782
|
|
|
64
|
-
|
|
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
|
|
65
803
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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>
|
|
69
816
|
```
|
|
70
817
|
|
|
71
|
-
|
|
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
|
|
72
823
|
|
|
73
|
-
```sh-session
|
|
74
|
-
$ agentia mcp start
|
|
75
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>]
|
|
76
828
|
|
|
77
|
-
|
|
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
|
|
78
837
|
|
|
79
|
-
|
|
838
|
+
GLOBAL FLAGS
|
|
839
|
+
--json Format output as json.
|
|
80
840
|
|
|
81
|
-
|
|
841
|
+
DESCRIPTION
|
|
842
|
+
Compare metadata between orgs or Git branches
|
|
82
843
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
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
|
|
92
850
|
```
|
|
93
851
|
|
|
94
|
-
|
|
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
|
|
95
857
|
|
|
96
|
-
```json
|
|
97
|
-
{
|
|
98
|
-
"mcpServers": {
|
|
99
|
-
"agentia": {
|
|
100
|
-
"command": "/absolute/path/to/agentia-headless/cli/bin/run.js",
|
|
101
|
-
"args": ["mcp", "start"]
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
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>]
|
|
106
865
|
|
|
107
|
-
|
|
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
|
|
108
885
|
|
|
109
|
-
|
|
886
|
+
GLOBAL FLAGS
|
|
887
|
+
--json Format output as json.
|
|
110
888
|
|
|
111
|
-
|
|
112
|
-
|
|
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
|
|
113
898
|
```
|
|
114
899
|
|
|
115
|
-
|
|
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)_
|
|
116
901
|
|
|
117
|
-
|
|
902
|
+
## `agentia metadata refresh deleted`
|
|
118
903
|
|
|
119
|
-
|
|
120
|
-
| --- | --- |
|
|
121
|
-
| Environment | `agentia_environment_list`, `agentia_environment_get`, `agentia_environment_create`, `agentia_environment_update` |
|
|
122
|
-
| Job | `agentia_job_list`, `agentia_job_get`, `agentia_job_run`, `agentia_job_resume`, `agentia_job_kill`, `agentia_job_pause` |
|
|
123
|
-
| Pipeline | `agentia_pipeline_list`, `agentia_pipeline_get`, `agentia_pipeline_connection_list` |
|
|
124
|
-
| Project | `agentia_project_default_get`, `agentia_project_default_set`, `agentia_project_default_unset` |
|
|
125
|
-
| Metadata | `agentia_metadata_list`, `agentia_metadata_content_get`, `agentia_metadata_content_compare`, `agentia_metadata_index_compare`, `agentia_metadata_dependency_list` |
|
|
904
|
+
Refresh the deleted metadata index via the CICD gateway
|
|
126
905
|
|
|
127
|
-
|
|
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>]
|
|
128
910
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
-
|
|
132
|
-
|
|
133
|
-
-
|
|
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
|
|
134
919
|
|
|
135
|
-
|
|
920
|
+
GLOBAL FLAGS
|
|
921
|
+
--json Format output as json.
|
|
136
922
|
|
|
137
|
-
|
|
923
|
+
DESCRIPTION
|
|
924
|
+
Refresh the deleted metadata index via the CICD gateway
|
|
138
925
|
|
|
139
|
-
|
|
140
|
-
$
|
|
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
|
|
141
930
|
```
|
|
142
931
|
|
|
143
|
-
|
|
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)_
|
|
144
933
|
|
|
145
|
-
|
|
146
|
-
<!-- commands -->
|
|
147
|
-
* [`agentia help [COMMAND]`](#agentia-help-command)
|
|
148
|
-
* [`agentia plugins`](#agentia-plugins)
|
|
149
|
-
* [`agentia plugins add PLUGIN`](#agentia-plugins-add-plugin)
|
|
150
|
-
* [`agentia plugins:inspect PLUGIN...`](#agentia-pluginsinspect-plugin)
|
|
151
|
-
* [`agentia plugins install PLUGIN`](#agentia-plugins-install-plugin)
|
|
152
|
-
* [`agentia plugins link PATH`](#agentia-plugins-link-path)
|
|
153
|
-
* [`agentia plugins remove [PLUGIN]`](#agentia-plugins-remove-plugin)
|
|
154
|
-
* [`agentia plugins reset`](#agentia-plugins-reset)
|
|
155
|
-
* [`agentia plugins uninstall [PLUGIN]`](#agentia-plugins-uninstall-plugin)
|
|
156
|
-
* [`agentia plugins unlink [PLUGIN]`](#agentia-plugins-unlink-plugin)
|
|
157
|
-
* [`agentia plugins update`](#agentia-plugins-update)
|
|
934
|
+
## `agentia metadata refresh run`
|
|
158
935
|
|
|
159
|
-
|
|
936
|
+
Trigger a metadata index refresh via the CICD gateway
|
|
160
937
|
|
|
161
|
-
|
|
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
|
|
162
980
|
|
|
163
981
|
```
|
|
164
982
|
USAGE
|
|
165
|
-
$ agentia
|
|
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>]
|
|
166
1043
|
|
|
167
1044
|
ARGUMENTS
|
|
168
|
-
|
|
1045
|
+
ID Pipeline Id
|
|
169
1046
|
|
|
170
1047
|
FLAGS
|
|
171
|
-
|
|
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.
|
|
172
1053
|
|
|
173
1054
|
DESCRIPTION
|
|
174
|
-
|
|
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
|
|
175
1061
|
```
|
|
176
1062
|
|
|
177
|
-
_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)_
|
|
178
1090
|
|
|
179
1091
|
## `agentia plugins`
|
|
180
1092
|
|
|
@@ -465,4 +1377,115 @@ DESCRIPTION
|
|
|
465
1377
|
```
|
|
466
1378
|
|
|
467
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)_
|
|
468
1491
|
<!-- commandsstop -->
|