Skip to content

Commit a8608d7

Browse files
committed
comment
1 parent b805290 commit a8608d7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

  • x-pack/platform/plugins/shared/agent_builder/server/services/execution/run_agent/bash

x-pack/platform/plugins/shared/agent_builder/server/services/execution/run_agent/bash/exec_tool_command.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,7 @@ interface ParsedArgs {
1818
}
1919

2020
/**
21-
* Hand-rolled argv parser for `exec_tool` — one positional + an optional
22-
* `--args=<json>` flag. Kibana's prod CLI parsers (`commander`) are designed
23-
* for full CLI apps with help text / sub-commands and don't fit this shape;
24-
* `minimist` / `yargs` are dev-only deps. Manual parsing is the right call
25-
* for this two-arg surface.
21+
* Hand-rolled argv parser for `exec_tool` — one positional + an optional `--args=<json>` flag.
2622
*/
2723
const parseArgs = (argv: string[]): ParsedArgs => {
2824
if (argv.length === 0) {

0 commit comments

Comments
 (0)