Linux command
posting 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Launch the HTTP client TUI
posting
Open a specific collection directory
posting --collection [path/to/collection]
Load environment variable files
posting --env [dev.env] --env [secrets.env]
Import a Postman v2.1 collection
posting import [postman_collection.json]
Display help
posting --help
说明
posting is a terminal-based HTTP client similar to Postman and Insomnia. Requests are stored locally as YAML files for easy version control. Features include jump-mode navigation, environments and variables, syntax highlighting with tree-sitter, Vim keys, customizable keybindings, pre/post-request Python scripts, curl import/export, and import from Postman and OpenAPI specs.
参数
- --collection _PATH_
- Use the given directory as the request collection.
- --env _FILE_
- Load environment variables from a .env file (may be repeated).
- --config _FILE_
- Use an alternate configuration file.
- import _FILE_
- Import a Postman v2.1 collection into a Posting collection.
- --help
- Display help information.
- --version
- Display version information.
FAQ
What is the posting command used for?
posting is a terminal-based HTTP client similar to Postman and Insomnia. Requests are stored locally as YAML files for easy version control. Features include jump-mode navigation, environments and variables, syntax highlighting with tree-sitter, Vim keys, customizable keybindings, pre/post-request Python scripts, curl import/export, and import from Postman and OpenAPI specs.
How do I run a basic posting example?
Run `posting` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --collection _PATH_ do in posting?
Use the given directory as the request collection.