We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
runCliJson
1 parent 61b5859 commit c249724Copy full SHA for c249724
1 file changed
src/codeql.ts
@@ -1131,6 +1131,15 @@ async function runCli(
1131
}
1132
1133
1134
+/**
1135
+ * Wraps the command executor {@link runCli} and parses the JSON output.
1136
+ * @param cmd The command to run.
1137
+ * @param args The arguments to pass to the command.
1138
+ * @param opts The options for running the command.
1139
+ * @param opts.stdin Optional string to pass to the command's standard input.
1140
+ * @param opts.noStreamStdout Optional boolean to indicate whether to stream the command's standard output.
1141
+ * @returns The parsed JSON output from the command.
1142
+ */
1143
async function runCliJson<T>(
1144
cmd: string,
1145
args: string[] = [],
0 commit comments