diff --git a/cli/cli/commands/lsp/resource/kurtosis_starlark.json b/cli/cli/commands/lsp/resource/kurtosis_starlark.json index 0bc1bbcc28..1092f1d94c 100644 --- a/cli/cli/commands/lsp/resource/kurtosis_starlark.json +++ b/cli/cli/commands/lsp/resource/kurtosis_starlark.json @@ -179,6 +179,44 @@ } ] }, + { + "name": "run_sh", + "detail": "It executes a one-time execution task. It runs the bash command specified by the mandatory field `run` on an image specified by the optional `image` field", + "documentation": "", + "returnType": "struct(output:string, code:number, file_artifacts:list)", + "params": [ + { + "name": "run", + "type": "string", + "content": "run", + "detail": "The bash command to run, as a string. It will be executed via 'sh -c $COMMAND'" + }, + { + "name": "image", + "type": "string", + "content": "image?", + "detail": "Image the bash command will be run on" + }, + { + "name": "workdir", + "type": "string", + "content": "workdir?", + "detail": "Sets the working dir in which the command will be run and the files will be mounted at" + }, + { + "name": "files", + "type": "dict", + "content": "files?", + "detail": "A mapping of path_on_container_where_contents_will_be_mounted -> files_artifact_id_to_mount" + }, + { + "name": "store", + "type": "list", + "content": "store?", + "detail": "List of paths to directories or files that will be copied to a file artifact" + } + ] + }, { "name": "set_connection", "detail": "The set_connection can be used to either update or replace the default connection settings",