From c7ef036827c0af19b9cbdb138db48bd2996b4d57 Mon Sep 17 00:00:00 2001 From: Divyesh Bhandari <79130336+divyeshio@users.noreply.github.com> Date: Thu, 12 Mar 2026 14:42:44 +0530 Subject: [PATCH 1/2] Add URL field to curl tool JSON configuration --- public/tools-collection/curl.json | 102 ++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 public/tools-collection/curl.json diff --git a/public/tools-collection/curl.json b/public/tools-collection/curl.json new file mode 100644 index 0000000..91b198c --- /dev/null +++ b/public/tools-collection/curl.json @@ -0,0 +1,102 @@ +{ + "name": "curl", + "displayName": "Curl", + "description": "curl is a command line tool and library for transferring data with URLs.", + "url": "https://curl.se/", + "commands": [ + { + "name": "curl", + "description": "Run curl to download files.", + "isDefault": true, + "sortOrder": 1, + "key": "curl" + } + ], + "parameters": [ + { + "name": "Target", + "description": "URL to download.", + "metadata": { + "tags": [ + "target", + "non-configurable" + ] + }, + "parameterType": "Argument", + "dataType": "String", + "isRequired": true, + "isRepeatable": false, + "isGlobal": false, + "sortOrder": 5, + "position": 1, + "key": "target", + "commandKey": "curl" + }, + { + "name": "Output", + "description": "Write to file instead of stdout.", + "metadata": { + "tags": [ + "output", + "output-file" + ] + }, + "parameterType": "Option", + "dataType": "String", + "isRequired": false, + "isRepeatable": false, + "isGlobal": false, + "shortFlag": "-o", + "longFlag": "--output", + "keyValueSeparator": " ", + "sortOrder": 4, + "key": "output", + "commandKey": "curl" + }, + { + "name": "Location", + "description": "Follow redirects.", + "parameterType": "Flag", + "dataType": "Boolean", + "isRequired": false, + "isRepeatable": false, + "isGlobal": false, + "shortFlag": "-L", + "longFlag": "--location", + "defaultValue": "true", + "sortOrder": 1, + "key": "location", + "commandKey": "curl" + }, + { + "name": "Silent", + "description": "Silent or quiet mode.", + "parameterType": "Flag", + "dataType": "Boolean", + "isRequired": false, + "isRepeatable": false, + "isGlobal": false, + "shortFlag": "-s", + "longFlag": "--silent", + "defaultValue": "true", + "sortOrder": 2, + "key": "silent", + "commandKey": "curl" + }, + { + "name": "Insecure", + "description": "Allow insecure server connections when using SSL.", + "parameterType": "Flag", + "dataType": "Boolean", + "isRequired": false, + "isRepeatable": false, + "isGlobal": false, + "shortFlag": "-k", + "longFlag": "--insecure", + "defaultValue": "true", + "sortOrder": 3, + "key": "insecure", + "commandKey": "curl" + } + ] +} From d5f81b4223601607248acb58d3e1259e33725218 Mon Sep 17 00:00:00 2001 From: Divyesh Bhandari <79130336+divyeshio@users.noreply.github.com> Date: Thu, 12 Mar 2026 14:47:40 +0530 Subject: [PATCH 2/2] Update checkout step to include fetch-depth option Added fetch-depth option to checkout step for full history. --- .github/workflows/validate-tool-pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/validate-tool-pr.yml b/.github/workflows/validate-tool-pr.yml index fcb98d2..4e70ecc 100644 --- a/.github/workflows/validate-tool-pr.yml +++ b/.github/workflows/validate-tool-pr.yml @@ -16,6 +16,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v6 + with: + fetch-depth: 0 - name: Validate changed tool files uses: actions/github-script@v7