Filter response keys before print result to the screen
まだ誰も着手していません。
評価
調査の方向性
まず、CLIオプションの解析からレスポンスの出力までの経路を追跡し、JSON結果がどこでフォーマットされているかを確認します。選択したレスポンスキーを省略しつつ、ヘッダーやその他の出力は引き続き利用できるように、提案されている --filter-keys foo,bar.boo の動作を追加します。ドキュメントに記載されたキー形式でオプションが機能し、既存の出力動作が維持されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Checklist
- I've searched for similar feature requests.
Enhancement request
It would be nice to have an option which allows to remove some key(s) from response before it will be print to the screen.
Problem it solves
I'm always frustrated when I have to scroll my screen up every time when the response is long. In some testcase(s) I'm interesting in a specific json key(s) and response header but some of the key(s) has really looong content and I don't care of it.
Additional information, screenshots, or code examples
It would be nice to have an option --filter-keys foo,bar.boo which will remove those keys from response before it will be well formatted.
- 主要言語
- Python
- スター
- 38.6k
- フォーク
- 4k
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
httpie/cli のほかの issue
-
new
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug new
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
bug priority:low
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
NousResearch/hermes-agent#122386 · コメント 1 件 ·
-
ai-generated
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
vllm-project/production-stack#1105 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100