a2aproject / a2aproject/a2a-cli

feat: rename `card get` to `card inspect`

オープン
#15 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Go
スター
95
フォーク
4
平均マージ
3日 2時間
マージ済み PR(30日)
24

説明

## Problem

`card get` is misleading — the verb "get" implies a remote fetch, but the command works equally well with local `file://...` references where nothing is "gotten". The command's real purpose is **displaying/inspecting the contents of an agent card**, regardless of where it lives.

## Proposal

Rename `card get` to `card inspect` (preferred) or `card show`.

**Why `inspect`:**
- Matches the mental model — you are inspecting a card's contents
- Consistent with other CLI tooling conventions (`docker inspect`, `kubectl describe`)
- Works equally well for remote URLs and local `file://` references
- Avoids confusion with "fetching" or "downloading"

## Implementation notes

- Rename the command in `internal/cli/card_get.go` (and the file itself)
- Update `card.go` subcommand registration
- Add a deprecated `get` alias pointing to `inspect` for backwards compatibility
- Update README / docs

## References

- `internal/cli/card_get.go` — command implementation
- `internal/cli/card.go` — parent command registration

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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