google / google/python-fire

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

Open
#525 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
28.2k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.