pub async fn handle(
proxy_addr: Option<String>,
language: Language,
file: PathBuf,
dummy: bool,
remote: bool,
profile: bool,
docker_opts: DockerOptions,
keep_containers: bool,
) -> Result<(), Error>
Expand description
Runs the given file with the given, optional data folder to resolve data declarations in.
§Arguments
certs_dir
: The directory with certificates proving our identity.proxy_addr
: The address to proxy any data transfers through if they occur.dummy
: If given, uses a Dummy VM as backend instead of actually running any jobs.remote
: Whether to run on an remote Brane instance instead.language
: The language with which to compile the file.file
: The file to read and run. Can also be ‘-’, in which case it is read from stdin instead.profile
: If given, prints the profile timings to stdout if available.docker_opts
: The options with which we connect to the local Docker daemon.keep_containers
: Whether to keep containers after execution or not.
§Returns
Nothing, but does print results and such to stdout. Might also produce new datasets.