any2api-invoker-ruby
Version:
Ruby invoker for any2api
37 lines (36 loc) • 708 B
JSON
{
"executables": {
"script": {
"parameters_schema": {
"input_file": {
"type": "string",
"mapping": "file",
"file_path": "./input.txt"
},
"input_env": {
"type": "string",
"mapping": "env"
},
"cmd": {
"type": "string",
"default": "bundle exec ruby script.rb"
}
},
"results_schema": {
"output_file": {
"type": "string",
"mapping": "file",
"file_path": "./output.txt"
}
},
"path": ".",
"invoker_name": "ruby"
}
},
"invokers": {
"ruby": {
"path": "../..",
"expose": true
}
}
}