-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #114 from darrenburns/v2
V2
- Loading branch information
Showing
95 changed files
with
7,049 additions
and
4,251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
run: uv sync --all-extras --dev | ||
- name: Run Tests | ||
run: | | ||
uv run make test | ||
uv run make test-ci | ||
- name: Attach Code Coverage | ||
uses: py-cov-action/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
## Overview | ||
|
||
You can quickly switch between Posting and external editors and pagers. | ||
|
||
For example, you could edit request bodies in `vim`, and then browse the JSON response body in `less` or `fx`. | ||
|
||
You can even configure a custom pager specifically for browsing JSON. | ||
|
||
## External Editors | ||
|
||
With a multi-line text area focused, press ++f4++ to open the file in your | ||
configured external editor. | ||
|
||
The configured external editor can be set as `editor` in your `config.yaml` | ||
file. | ||
For example: | ||
|
||
```yaml title="config.yaml" | ||
editor: vim | ||
``` | ||
Alternatively, you can set the `POSTING_EDITOR` environment variable. | ||
|
||
```bash | ||
POSTING_EDITOR=vim | ||
``` | ||
|
||
If neither is set, Posting will try to use the `EDITOR` environment variable. | ||
|
||
## External Pagers | ||
|
||
With a multi-line text area focused, press ++f3++ to open the file in your | ||
configured external pager. | ||
|
||
The configured external pager can be set as `pager` in your `config.yaml` | ||
file. | ||
For example: | ||
|
||
```yaml title="config.yaml" | ||
pager: less | ||
``` | ||
|
||
Alternatively, you can set the `POSTING_PAGER` environment variable. | ||
|
||
```bash | ||
POSTING_PAGER=less | ||
``` | ||
|
||
### JSON Pager | ||
|
||
You can use a custom pager for viewing JSON using the `pager_json` setting in | ||
your `config.yaml` file. | ||
For example: | ||
|
||
```yaml title="config.yaml" | ||
pager_json: jq | ||
``` | ||
|
||
Alternatively, you can set the `POSTING_PAGER_JSON` environment variable. | ||
|
||
```bash | ||
POSTING_PAGER_JSON=jq | ||
``` | ||
|
||
If neither is set, Posting will try to use the default pager lookup rules discussed earlier. |
Oops, something went wrong.