@@ -61,4 +61,48 @@ sf plugins
6161
6262<!-- commands -->
6363
64+ - [ ` sf agent run test ` ] ( #sf-agent-run-test )
65+
66+ ## ` sf agent run test `
67+
68+ Start a test for an Agent.
69+
70+ ```
71+ USAGE
72+ $ sf agent run test -o <value> -i <value> [--json] [--flags-dir <value>] [-w <value>] [-d <value>]
73+
74+ FLAGS
75+ -d, --output-dir=<value> Directory in which to store test run files.
76+ -i, --id=<value> (required) The AiEvalDefinitionVersion ID.
77+ -o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
78+ configuration variable is already set.
79+ -w, --wait=<value> Number of minutes to wait for the command to complete and display results to the terminal
80+ window.
81+
82+ GLOBAL FLAGS
83+ --flags-dir=<value> Import flag values from a directory.
84+ --json Format output as json.
85+
86+ DESCRIPTION
87+ Start a test for an Agent.
88+
89+ Start a test for an Agent, providing the AiEvalDefinitionVersion ID. Returns the job ID.
90+
91+ EXAMPLES
92+ Start a test for an Agent:
93+
94+ $ sf agent run test --id AiEvalDefVerId
95+
96+ FLAG DESCRIPTIONS
97+ -i, --id=<value> The AiEvalDefinitionVersion ID.
98+
99+ The AiEvalDefinitionVersion ID.
100+
101+ -w, --wait=<value> Number of minutes to wait for the command to complete and display results to the terminal window.
102+
103+ If the command continues to run after the wait period, the CLI returns control of the terminal window to you.
104+ ```
105+
106+ _ See code: [ src/commands/agent/run/test.ts] ( https://github.com/salesforcecli/plugin-agent/blob/1.1.0/src/commands/agent/run/test.ts ) _
107+
64108<!-- commandsstop -->
0 commit comments