thunderclient / thunder-client-support

Thunder Client is a lightweight Rest API Client Extension for VS Code.
https://www.thunderclient.com
Other
3.64k stars 130 forks source link

TC command line: Specified syntax for executing folders doesn't work #1406

Closed franky1964 closed 11 months ago

franky1964 commented 11 months ago

Describe the bug We tried to use the following commands to run a folder as part of an existing collection: tc --col "colName" --fol "folderId" tc --col "colName" --fol "folderName"

In both cases the folder isn't found and the collections runs in total, this makes no sense. (e.g.: ERROR: Folder not found - ab3b1c20-a2c2-440f-868a-c96fafe1b563)

The only way we got it to work was this "confusing" command: tc --col "folderId"

Using tc --col "folderName" we got "ERROR: Collection not found - folderName"

To Reproduce Use described syntax

Expected behavior Folder can be executed using the syntax: tc --col "colName" --fol "folderName" or "tc --col "colName" --fol "folderId"

Platform:

Are you using the free version/paid version/trial: paid version

rangav commented 11 months ago

@franky1964 The syntax to execute a folder is - tc --fol "FolderName"

Docs: https://rangav.medium.com/d91eb5c71d8e

franky1964 commented 11 months ago

Just tried out with: image

rangav commented 11 months ago

Can you see the same folder ID when running this command - tc list "colNameOrId" ?

franky1964 commented 11 months ago

Ok, in this case it was an error from my side. I will try to reproduce with annother example.

rangav commented 11 months ago

Sure, Let me know if you have any issues with this command.

rangav commented 11 months ago

I am closing this issue as its resolved