Skip to content

samtgarson/pat

Repository files navigation

📮

pat—postman on the command line

Pat is an interactive Postman CLI built with ink.

Build Status

Why?

I was bummed out to find one of the only things I couldn't use after moving to an iPad as my daily development machine was Postman, so I'm trying to build a command line replacement. Currently Pat only supports collections available on the Postman Pro API. PR's welcome to improve this.

Progress

  • Fetch collections from the API
  • Edit the environment
  • Make basic requests
  • Authentication
  • More authentication
  • Request history
  • Add other collection formats
    • Postman JSON files
    • Insomnia

Install and Use

npm install --global pat-cli

pat # follow the instructions from here

Contribute

Bug reports and pull requests are welcome on GitHub at https://github.com/samtgarson/pat. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Develop

npm i        # Install dependencies
npm run test # Run tests
npm run dev  # Run the typescript compiler in watch mode

./bin/pat    # Run the CLI locally

License

The module is available as open source under the terms of the MIT License.