lmrtfy CLI tools uses the following schema:
lmrtfy [COMMAND] [COMMAND_OPTIONS]
[COMMAND] is one of the following:
The usage of the LMRTFY services is connected to a user accouunt. With
lmrtfy login you can directly
trigger the login process. This is usually not necessary, because each command that needs a valid
authorization token will trigger the login if needed.
Logout of the currently active account. This should only be necessary in special cases, e.g. if you have more than one account for some reason (private and work account for example).
deploy <scipt> [OPTIONS]¶
This command deploys the
<script> and makes it available via the LMRTFY platform. It's now ready
to take jobs.
Currently, only local deployment via the
--local flag works. If you want to deploy to the cloud
you need to manually do this and run
lmrtfy deploy <script> --local on the remote resource.
||Deploy locally on the current system.|
||Run the deployment as daemon in the background.|
submit <profile_id> <arguments.json>¶
The CLI allows you to submit jobs for a specific
profile_id which is returned by the
<argument.json> needs to contain valid input data, otherwise the job is rejected. The structure
of the JSON file can be found here.
fetch <job_id> <path>¶
It's also possible to fetch the results from a job with
job_id. The job ID is displayed during the
<path> you specify where the results should be saved.