@@ -64,6 +64,8 @@ sf plugins
6464- [ ` sf agent create ` ] ( #sf-agent-create )
6565- [ ` sf agent generate spec ` ] ( #sf-agent-generate-spec )
6666- [ ` sf agent test cancel ` ] ( #sf-agent-test-cancel )
67+ - [ ` sf agent test results ` ] ( #sf-agent-test-results )
68+ - [ ` sf agent test resume ` ] ( #sf-agent-test-resume )
6769- [ ` sf agent test run ` ] ( #sf-agent-test-run )
6870
6971## ` sf agent create `
@@ -102,7 +104,7 @@ FLAG DESCRIPTIONS
102104 spec` command.
103105```
104106
105- _ See code: [ src/commands/agent/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.3.4 /src/commands/agent/create.ts ) _
107+ _ See code: [ src/commands/agent/create.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.4.0 /src/commands/agent/create.ts ) _
106108
107109## ` sf agent generate spec `
108110
@@ -145,21 +147,22 @@ EXAMPLES
145147 --company-description "A meaningful description"
146148```
147149
148- _ See code: [ src/commands/agent/generate/spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.3.4 /src/commands/agent/generate/spec.ts ) _
150+ _ See code: [ src/commands/agent/generate/spec.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.4.0 /src/commands/agent/generate/spec.ts ) _
149151
150152## ` sf agent test cancel `
151153
152154Cancel a running test for an Agent.
153155
154156```
155157USAGE
156- $ sf agent test cancel -o <value> -i <value> [--json ] [--flags-dir <value>] [-r]
158+ $ sf agent test cancel -o <value> [--json] [--flags-dir <value>] [--api-version <value> ] [-i <value>] [-r]
157159
158160FLAGS
159- -i, --job-id=<value> (required) The AiEvaluation ID.
160- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
161- configuration variable is already set.
162- -r, --use-most-recent Use the job ID of the most recent test evaluation.
161+ -i, --job-id=<value> The AiEvaluation ID.
162+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
163+ configuration variable is already set.
164+ -r, --use-most-recent Use the job ID of the most recent test evaluation.
165+ --api-version=<value> Override the api version used for api requests made by this command
163166
164167GLOBAL FLAGS
165168 --flags-dir=<value> Import flag values from a directory.
@@ -173,26 +176,103 @@ DESCRIPTION
173176EXAMPLES
174177 Cancel a test for an Agent:
175178
176- $ sf agent test cancel --id AiEvalId
179+ $ sf agent test cancel --job-id AiEvalId
180+ ```
181+
182+ _ See code: [ src/commands/agent/test/cancel.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.4.0/src/commands/agent/test/cancel.ts ) _
183+
184+ ## ` sf agent test results `
185+
186+ Get the results of a test evaluation.
187+
188+ ```
189+ USAGE
190+ $ sf agent test results -o <value> -i <value> [--json] [--flags-dir <value>] [--api-version <value>] [--result-format
191+ json|human]
192+
193+ FLAGS
194+ -i, --job-id=<value> (required) The AiEvaluation ID.
195+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
196+ configuration variable is already set.
197+ --api-version=<value> Override the api version used for api requests made by this command
198+ --result-format=<option> [default: human] Format of the test run results.
199+ <options: json|human>
200+
201+ GLOBAL FLAGS
202+ --flags-dir=<value> Import flag values from a directory.
203+ --json Format output as json.
204+
205+ DESCRIPTION
206+ Get the results of a test evaluation.
207+
208+ Provide the AiEvaluation ID to get the results of a test evaluation.
209+
210+ EXAMPLES
211+ $ sf agent test results --job-id AiEvalId
212+ ```
213+
214+ _ See code: [ src/commands/agent/test/results.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.4.0/src/commands/agent/test/results.ts ) _
215+
216+ ## ` sf agent test resume `
217+
218+ Resume a running test for an Agent.
219+
220+ ```
221+ USAGE
222+ $ sf agent test resume -o <value> [--json] [--flags-dir <value>] [--api-version <value>] [-i <value>] [-r] [-w
223+ <value>] [--result-format json|human]
224+
225+ FLAGS
226+ -i, --job-id=<value> The AiEvaluation ID.
227+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
228+ configuration variable is already set.
229+ -r, --use-most-recent Use the job ID of the most recent test evaluation.
230+ -w, --wait=<value> [default: 5 minutes] Number of minutes to wait for the command to complete and display
231+ results to the terminal window.
232+ --api-version=<value> Override the api version used for api requests made by this command
233+ --result-format=<option> [default: human] Format of the test run results.
234+ <options: json|human>
235+
236+ GLOBAL FLAGS
237+ --flags-dir=<value> Import flag values from a directory.
238+ --json Format output as json.
239+
240+ DESCRIPTION
241+ Resume a running test for an Agent.
242+
243+ Resume a running test for an Agent, providing the AiEvaluation ID.
244+
245+ EXAMPLES
246+ Resume a test for an Agent:
247+
248+ $ sf agent test resume --job-id AiEvalId
249+
250+ FLAG DESCRIPTIONS
251+ -w, --wait=<value> Number of minutes to wait for the command to complete and display results to the terminal window.
252+
253+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
177254```
178255
179- _ See code: [ src/commands/agent/test/cancel .ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.3.4 /src/commands/agent/test/cancel .ts ) _
256+ _ See code: [ src/commands/agent/test/resume .ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.4.0 /src/commands/agent/test/resume .ts ) _
180257
181258## ` sf agent test run `
182259
183260Start a test for an Agent.
184261
185262```
186263USAGE
187- $ sf agent test run -o <value> -i <value> [--json] [--flags-dir <value>] [-w <value>] [-d <value>]
264+ $ sf agent test run -o <value> -n <value> [--json] [--flags-dir <value>] [--api-version <value>] [-w <value>]
265+ [--result-format json|human]
188266
189267FLAGS
190- -d, --output-dir=<value> Directory in which to store test run files.
191- -i, --id=<value> (required) The AiEvalDefinitionVersion ID.
192- -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
193- configuration variable is already set.
194- -w, --wait=<value> Number of minutes to wait for the command to complete and display results to the terminal
195- window.
268+ -n, --name=<value> (required) The name of the AiEvaluationDefinition to start.
269+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
270+ configuration variable is already set.
271+ -w, --wait=<value> Number of minutes to wait for the command to complete and display results to the
272+ terminal window.
273+ --api-version=<value> Override the api version used for api requests made by this command
274+ --result-format=<option> [default: human] Format of the test run results.
275+ <options: json|human>
196276
197277GLOBAL FLAGS
198278 --flags-dir=<value> Import flag values from a directory.
@@ -206,18 +286,18 @@ DESCRIPTION
206286EXAMPLES
207287 Start a test for an Agent:
208288
209- $ sf agent test run --id AiEvalDefVerId
289+ $ sf agent test run --name AiEvalDefVerId
210290
211291FLAG DESCRIPTIONS
212- -i , --id =<value> The AiEvalDefinitionVersion ID .
292+ -n , --name =<value> The name of the AiEvaluationDefinition to start .
213293
214- The AiEvalDefinitionVersion ID .
294+ The name of the AiEvaluationDefinition to start .
215295
216296 -w, --wait=<value> Number of minutes to wait for the command to complete and display results to the terminal window.
217297
218298 If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
219299```
220300
221- _ See code: [ src/commands/agent/test/run.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.3.4 /src/commands/agent/test/run.ts ) _
301+ _ See code: [ src/commands/agent/test/run.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.4.0 /src/commands/agent/test/run.ts ) _
222302
223303<!-- commandsstop -->
0 commit comments