Documentation
¶
Overview ¶
Command termipost is a terminal UI for building, sending, and validating HTTP requests — a Postman-like client for the terminal.
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
domain
Package domain defines the core data types for termipost: collections, requests, assertions, environments, and secrets, plus the result types produced when requests are run as tests.
|
Package domain defines the core data types for termipost: collections, requests, assertions, environments, and secrets, plus the result types produced when requests are run as tests. |
|
httpclient
Package httpclient sends a domain.Request over HTTP after resolving its {{variable}} references, and returns the response with timing.
|
Package httpclient sends a domain.Request over HTTP after resolving its {{variable}} references, and returns the response with timing. |
|
model
Package model implements the Bubble Tea TUI for termipost: a root model that owns shared state and a navigation stack of screens, each of which renders a view and a contextual action/help bar.
|
Package model implements the Bubble Tea TUI for termipost: a root model that owns shared state and a navigation stack of screens, each of which renders a view and a contextual action/help bar. |
|
runner
Package runner evaluates a request's assertions against a response and runs requests (and whole collections) as tests.
|
Package runner evaluates a request's assertions against a response and runs requests (and whole collections) as tests. |
|
store
Package store handles persistence of termipost data as human-readable JSON files.
|
Package store handles persistence of termipost data as human-readable JSON files. |
|
syntax
Package syntax provides a single hand-written, position-tracking JSON scanner that powers three features over request/response bodies: syntax highlighting, live validation, and the prettify (format + validate) action.
|
Package syntax provides a single hand-written, position-tracking JSON scanner that powers three features over request/response bodies: syntax highlighting, live validation, and the prettify (format + validate) action. |
|
ui
Package ui holds shared Lip Gloss styles and small rendering helpers used across termipost screens.
|
Package ui holds shared Lip Gloss styles and small rendering helpers used across termipost screens. |
|
vars
Package vars resolves {{name}} references in request fields against the active environment and the global secrets store, and masks secret values for display.
|
Package vars resolves {{name}} references in request fields against the active environment and the global secrets store, and masks secret values for display. |
Click to show internal directories.
Click to hide internal directories.
