कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

pmctl

wbingli द्वारा

Web & Frontend Development
391clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Browse and inspect Postman collections, requests, and environments from the terminal using pmctl.

विवरण

यह स्किल क्या करती है

pmctl wraps the Postman API to let you browse collections, inspect requests, and resolve environment variables from the terminal. It shows request details including method, URL, headers, body, and query params, and resolves {{variable}} placeholders to real values. No Postman GUI needed.

Instead of launching the Postman GUI to look up a request's headers or body, pmctl returns the same data instantly from the terminal with pipeable JSON output.

इसे कब इस्तेमाल करें

  • Looking up an endpoint's method and URL without opening Postman
  • Resolving environment variables to get a real base URL
  • Building a curl command from a saved Postman request
  • Fuzzy-searching for requests across a large collection
  • Switching between personal and work Postman accounts

उदाहरण वर्कफ़्लो

इनपुट

User asks: What headers and body does the 'create User' request use in the QA environment?

एजेंट
  1. 1

    Runs pmctl requests show 'create User' -c 'My API' --json to fetch request details

  2. 2

    Extracts method, URL, headers, and body from JSON output using jq

  3. 3

    Runs pmctl environments show 'QA' --json to list environment variables

  4. 4

    Resolves the {{base-url}} placeholder by matching the key in environment values

  5. 5

    Returns the full request with real URL, headers, and body

आउटपुट

Full request details with resolved URL (e.g., https://api.example.com/v1/users), headers, and JSON body ready for use in a curl command

आवश्यकताएँ

  • Postman account
  • Postman API key (generate at go.postman.co/settings/me/api-keys)
  • pmctl CLI (pip install pmctl)

इंस्टॉलेशन

clawhub install wbingli/pmctl

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक