/add-dir should support passing a directory argument directly, and fix pasted paths being modified in the input box

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
領域
cli

調査の方向性

/add-dir コマンドのエントリポイントと既存の add-dir 入力 UI から始めます。コマンド引数がどのように処理され、貼り付けられたパスがどのように処理されるかを確認します。完了条件は、指定されたディレクトリが直接追加され、貼り付けられたパスは入力ボックス内で変更されないことです。

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

説明

p2
Expected Behavior

I expect the ‎/add-dir command to support passing a directory path directly, for example:

/add-dir "/Users/david/Projects/caonima"

When a directory argument is provided, Command Code should add that directory directly, instead of always need to opening the interactive add-dir UI

In addition, in the existing add-dir UI, the input box should accept pasted directory paths as-is, without adding any extra characters before or after the pasted text.

Actual Behavior

Right now, ‎/add-dir does not respect a directory argument.

When I paste a directory path into the add-dir input box, the pasted text gets modified: some extra characters (e.g. something like ‎~200 or similar) are added to the beginning and the end of the path.

Command Code Version

0.25.7

Operating System

macOS

Terminal/IDE

WarpTerminal

Shell

zsh

Additional context

No response

主要言語
言語のデータがありません
スター
4k
フォーク
350
PR マージ指標
30日以内にマージされた PR はありません

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

CommandCodeAI/command-code のほかの issue

CommandCodeAI/command-code の issue をすべて見る

似ている issue

CLI の issue をもっと見る

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

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