1.8.1 • Published 12 months ago

post-turtle v1.8.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

build status License

post-turtle 🐢

post-turtle is a simple shell based Postman alternative written in TypeScript. It is designed to help developers make quick API requests on the fly without having to use something as heavy as Postman

Install

npm install -g post-turtle

Features

Interactive Mode

pt called without any arguments will trigger an interactive command line interface. You can use this interface to create, update or delete existing requests, as well as triggering ones that have been created.

Screen recording of a request being created and triggered
interactively

Non-interactive Mode

Requests that have been created using interactive mode are stored in your home directory in a file called .post-turtle-request. Once you have created some requests, these requests will be available to call non-interactively using pt call <slug>

Screen recording of a request being created and triggered
non-interactively

Parameters

All request fields can contain 'parameters' by using a simplified handlebars syntax. If a request contains parameters in the form {{ name : description }}, it will have the following effect

  • Triggering the request via interactive mode will produce an input field for each parameter
  • The command generated by pt call will also include a required --option for that parameter

Screen recording of a request with params being created and triggered in
interactive mode

About This Package

This package is written in TypeScript using a combination of ink to allow me to write a great responsive CLI experience using my React skills and commander.js to provide a nice non-interactive CLI setup

1.8.1

12 months ago

1.8.0

12 months ago

1.7.0

12 months ago

1.6.0

12 months ago

1.5.1

12 months ago

1.5.0

12 months ago

1.4.2

12 months ago

1.4.1

12 months ago

1.4.0

12 months ago

1.3.4

12 months ago

1.3.3

12 months ago

1.3.2

12 months ago

1.3.1

12 months ago

1.3.0

1 year ago

1.2.2

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago