feat: add config show command for active microcks context
メンテナーはふだん 1 日以内に返信
@mugiwaraluffy56 がすでに取り組んでいます。
2026年5月11日 から。
評価
調査の方向性
cmd/ 以下から始め、CLI で使用されている既存のローカル設定の読み込みとコンテキスト解決を追跡します。config show のエントリポイントを追加し、一時的な設定 fixture のテストを調べて、コンテキスト、サーバー URL、TLS、token の存在、refresh-token の存在、リンクされたインスタンスの詳細を、秘密情報を出力せずにカバーします。出力とテストが完了したら、コマンドのドキュメントを更新します。
索引モデルが issue の本文から書いたものです。
説明
the cli stores microcks connection details in the local config, but there is no simple command that shows what the active context currently points to. when debugging microcks import, microcks test, or local tooling that connects to microcks, users currently have to inspect the raw config file manually to confirm the current context, server url, tls setting, and whether auth credentials are present.
a microcks config show command would make that state visible from the cli without exposing secrets. the default output could print a small table with the current context name, server url, insecure tls setting, whether an auth token is present, whether a refresh token is present, and linked local instance information if the context has one.
example:
microcks config show
current context server insecure tls auth token instance
local http://localhost:8585 false present microcks
the first version can stay focused: add a config show command under cmd/, reuse the existing local config loading and context resolution code, mask token values instead of printing them, add tests with temporary config fixtures, and update command documentation.
this also supports the vs code integration work in #255 because editor tooling needs an easy way for users to confirm which microcks instance their local environment is configured to use.
- 主要言語
- Go
- スター
- 57
- フォーク
- 73
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 28
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microcks/microcks-cli のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
microcks/microcks-cli#583 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
microcks/microcks-cli#573 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug: YAML parse error in config is silently swallowed, login overwrites all other contexts対応中かも @Sarthak-Shreshtha01 が 4 日前に担当しました。 オープンcomponent/cli kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
microcks/microcks-cli#572 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
-
import-dir uploads secondary artifacts before their primary API definition対応中かも @doraem-on が 11 日前に担当しました。 オープンcomponent/cli kind/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
microcks/microcks-cli#561 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
TEST: `ConnectAndGetToken` Returns Error on Non-200 Response対応中かも @aniket866 が 14 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
microcks/microcks-cli#554 ·
メンテナーはふだん 1 日以内に返信
microcks/microcks-cli の issue をすべて見る
似ている issue
-
documentation help wanted needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 75/100
hivecommons/hive#11606 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
gravitational/teleport#69869 ·
-
category:agent
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
LanternOps/breeze#8493 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
docs
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
shaiknoorullah/hg-mono#815 ·
メンテナーはふだん 1 日以内に返信