gh pr view *

built-in
1.5% Savings
45 Commands
406 Tokens saved
2 Tests

Install

tokf install 802e5d2fb03aa71d2e57063cc6d740511cfaab2764babfed9937f1e2b38872e1
Safety checks passed

Filter definition

command = "gh pr view *"

skip = [
  "^assignees:\\s*$",
  "^reviewers:\\s*$",
  "^projects:\\s*$",
  "^milestone:\\s*$",
]

[on_success]
head = 30

[on_failure]
tail = 10

Examples

auth error shows tail ~39 tokens → ~39 tokens
Raw output
To get started with GitHub CLI, please run:  gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.
Filtered output
To get started with GitHub CLI, please run:  gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.
PR view skips empty metadata ~53 tokens → ~42 tokens (21% saved)
Raw output
title:	feat: add pnpm support
state:	OPEN
author:	mpecan
url:	https://github.com/mpecan/tokf/pull/67
assignees:
reviewers:
projects:
milestone:
labels:	enhancement
--
This PR adds pnpm support to the filter engine.
Filtered output
title:	feat: add pnpm support
state:	OPEN
author:	mpecan
url:	https://github.com/mpecan/tokf/pull/67
labels:	enhancement
--
This PR adds pnpm support to the filter engine.
Warning: Community filters are third-party code. Review the filter definition above before installing it in production environments.
Browse all filters