[FR] - Make output of CLI commands consistent.
メンテナーはふだん 1 日以内に返信
@newhoggy がすでに取り組んでいます。
2025年3月26日 から。
評価
この issue はまだ評価されていません。
説明
Internal/External
Internal if an IOHK staff member.
Area
Other Any other topic (Delegation, Ranking, ...).
Describe the feature you'd like
Currently the output format of the CLI commands may depend on multiple things and sometimes is not deterministic. This may surprise the users and lead to a poor user experience (like in https://github.com/IntersectMBO/cardano-cli/pull/537 ).
An example is cardano-cli conway query ledger-state: https://github.com/IntersectMBO/cardano-cli/blob/17355f3e86dba264ca85389c491e561b2a07cafe/cardano-cli/src/Cardano/CLI/EraBased/Run/Query.hs#L903
where the output format depends on where you would like to send it (binary CBOR for file, json for stdout) and if there was and error when decoding it (plain CBOR when error occurred during CBOR deserialization into JSON).
A one way to make it consistent across the whole CLI is to use similar output flags to transaction-view like in https://github.com/IntersectMBO/cardano-cli/pull/523.
- 主要言語
- Haskell
- スター
- 72
- フォーク
- 26
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
IntersectMBO/cardano-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
IntersectMBO/cardano-cli#1306 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Show genesis hash mismatches in plain words対応中かも @palas が 10 日前に担当しました。 オープンenhancement
IntersectMBO/cardano-cli#1481 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Add a dedicated pool registration certificate creation command to register or update a pool’s BLS key using existing pool parameters対応中かも @carbolymer が 5 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
IntersectMBO/cardano-cli#1479 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
performance
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
IntersectMBO/cardano-cli#1472 ·
メンテナーはふだん 1 日以内に返信
-
Clarify the origin and intended use of Plutus V2/V4 test fixtures対応中かも @Jimbo4350 が 19 日前に担当しました。 オープン
IntersectMBO/cardano-cli#1464 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
IntersectMBO/cardano-cli の issue をすべて見る
似ている issue
-
Web.Scotty.Trans.Lazy.setHeader calls addHeader instead of setHeader対応中かも @tusharad が 1 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
scotty-web/scotty#436 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
input-output-hk/haskell.nix#2617 ·
-
easy first-contributor first-contributors good first issue haskell help wanted up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
fork-commit-merge/fork-commit-merge#8455 ·
メンテナーはふだん 1 日以内に返信
-
new tool
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
dense-analysis/ale#5176 ·
-
infrastructure
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alunduil/siren-json.hs#278 ·
メンテナーはふだん 1 日以内に返信