Create a TI method from a local method definition file

The local method definition file describes a method that is runnable on the local system.

create_ti_method_definition(definition, script, return_function = TRUE)

Arguments

definition

A definition, see definition()

script

Location of the script that will be executed. Has to contain a #!

return_function

Whether to return a function that allows you to override the default parameters, or just return the method meta data as is.