google / google/python-fire

shouldn't --completion for zsh also complete paths?

オープン
#525 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
28.2k
フォーク
1.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi,

I was struggling to make `-- --completion` work with both my arguments and paths. For example I have a "--path" argument and I would like to autocomplete files paths instead of treating it as a flag.

The workaround I found was to do `sed 's/compgen -W/compgen -f -W/g'`

Is there something I'm missing or should I make a PR to add this '-f' by default?

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

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

評価

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

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

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