Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat: add config show command for active microcks context

オープン
#368 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@mugiwaraluffy56 がすでに取り組んでいます。

2026年5月11日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
cli, tooling

調査の方向性

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microcks/microcks-cli のほかの issue

microcks/microcks-cli の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。