Use testlight run to send an API request from the command line:
testlight run path/to/api.mmt --env-file env.mmt --preset devRun a named example:
testlight run path/to/api.mmt --example happy-path
testlight run path/to/api.mmt --example '#1'Pass runtime inputs and env overrides:
testlight run path/to/api.mmt -i user_id=42 --env-file env.mmt -e api_url=http://localhost:8080