Skip to content

mw toolforge build curl

Releasev0.35.0 · cfeceb67

mw toolforge build curl [path] [flags]

Make an arbitrary authenticated request to the Builds API.

Examples: toolforge build curl /v1/tool/mytool/builds -X POST -H “content-type: application/json” –data ‘{“source_url”: “https://example.com/myrepo"}’ toolforge build curl /v1/tool/mytool/builds -X GET

--data <string>
HTTP POST data
-H, --header <stringArray>
Pass custom header(s) to server
--json
Output only the JSON body of the response
-X, --request <string>
Specify request command to use Default: GET.
--help
Help for this command
--no-interaction
Do not ask any interactive questions
-t, --tool <string>
Tool name (auto-detected when running as a tool)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.