Crates.io | pocc |
lib.rs | pocc |
version | 1.1.1 |
source | src |
created_at | 2023-08-01 04:39:55.898379 |
updated_at | 2023-09-23 10:24:23.714447 |
description | A CLI to play with postman collections(v2.1.0) inspired by [password-store](https://www.passwordstore.org/) |
homepage | https://github.com/RitickMadaan/postman-collection-cli |
repository | https://github.com/RitickMadaan/postman-collection-cli |
max_upload_size | |
id | 931451 |
size | 60,298 |
pocc
supports converting a postman request to a curl for easier use in the terminal.
cmd:
pocc curl
select the request:
Select request from current directory:
> TestCollection/New Folder/example.com
TestCollection/New Folder/raw_json_body
TestCollection/New Folder/raw_javascript_body
TestCollection/New Folder/example.com
TestCollection/New Folder/form-data
TestCollection/New Folder/x-www-form-urlencoded
TestCollection/New Folder/raw_text_body
[↑↓ to move, enter to select, type to filter]
output:
curl --location --globoff --request POST 'https://example.com' \
--header 'Authorization: Bearer 12345678' \
--header 'Content-Type: text/plain' \
--data 'hey there'
cmd:
pocc -c curl
select a request from the interactive UI to copy it's curl to clipbaord.
and more, take a look at issues to find out
to install through cargo run:
cargo install pocc
NOTE: below installation methods coming in soon
pocc
's fundamental objective is to empower users to seamlessly interact with Postman collections, all within the convenience of their terminal.