1.0.1 • Published 9 months ago

insomnia-plugin-terminal-command v1.0.1

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

insomnia-plugin-terminal-command

Use terminal command output in Insomnia.


Installation

This plugin may be installed as discussed in Insomnia "Managing plugins" documentation.

  1. Open Insomnia
  2. Go to Application > Preferences
  3. Go to "Plugins" tab
  4. Type insomnia-plugin-terminal-command in the "Install Plugin" field
  5. Click "Install Plugin"

Add general terminal command

Use Template Tags (i.e., CTRL + SPACE, then find "Terminal Command") to add terminal command.

Screenshot

Example: run command and filter json

The plugin supports string ouptut and json output and filtering with jsonpath. Important filtering is only used when json return type is selected.

Screenshot

Limitations

The plugin runs terminal using child_process. Lookup on Unix is performed on a default search path search of /usr/bin:/bin, on Windows the current processes environment variable PATH is used. If your command is not found then you need to use the full path to the command to run it.

How to contribute

Contributions, issues and feature requests are welcome. Feel free to open an issue or create a pull request.

1.0.1

9 months ago

1.0.0

10 months ago