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

uninstall: --dry-run footer, --force tip and help text point users the wrong way

オープン 初心者向け
#788 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
cli

調査の方向性

まず apps/rocm/src/uninstall_plan.rs から始め、空のプランの場合も含めて、CLI がアンインストールのプレビューとフッターをどのように表示するかを追ってください。次に、アンインストールコマンドの clap 引数定義を調べ、--force の候補表示とヘルプテキストを確認してください。ドライランの後に実際の実行を行う例を追加してください。CLI のフッターが正確になり、空のプランでは表示されず、--force が --force-dev-binaries を候補として表示しなくなり、ヘルプに例が含まれれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug documentation

Current behavior

Three small problems in what rocm uninstall prints and accepts:

  1. The --dry-run footer reads Choose Review uninstall to approve removal. The CLI has no such control: after --dry-run the next step is rerunning without it. The text is emitted by render_uninstall_plan (apps/rocm/src/uninstall_plan.rs) whenever dry_run is set; it is shared with the chat tool's uninstall preview (render_uninstall_dry_run), where an approval choice may exist. It also appears on an empty plan:

    $ rocm uninstall --keep-binaries --keep-config --keep-data --keep-cache --dry-run
    Uninstall review
    
    Nothing managed by rocm-cli would be removed.
    ...
    Choose Review uninstall to approve removal.
    
  2. A mistyped --force gets the clap suggestion tip: a similar argument exists: '--force-dev-binaries'. That flag ("Allow removing development binaries inside the current build tree") is a more destructive option than most users who type --force would mean to opt into.

  3. rocm uninstall --help has no examples (for instance a --dry-run first, then the real run).

Expected behavior

A footer that is correct for the CLI (and absent on an empty plan), no auto-suggestion of --force-dev-binaries, and a short examples section in the help.

Your environment

  • rocm-cli version: rocm-cli 0.1.0, built from the #782 branch (910b1d8). That branch only refactors the [y/N] prompt helper (#769) without changing its logic; not re-run on main.
  • Platform: WSL2 (Linux 6.18)
主要言語
Rust
スター
49
フォーク
14
平均マージ
3日 6時間
マージ済み PR(30日)
183

環境構築

はじめの一歩

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

ROCm/rocm-cli のほかの issue

ROCm/rocm-cli の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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