plugin-autocomplete icon indicating copy to clipboard operation
plugin-autocomplete copied to clipboard

Does not work for second flag

Open pzombade opened this issue 3 years ago • 2 comments

The autocomplete supports only one flag. It should also support autocompletion for rest of the flags.

  one: Flags.string({
    description: 'The first flag',
  }),
  two: Flags.string({
    description: 'The second flag',
  }),
  three: Flags.string({
    description: 'The third flag',
  })

Type following command. Then type - followed by tab press (to see the available flags i.e. --two ---three.) mycli --one -<TAB>

Observation: Autocomplete does not list any flags.

Expectation: All the flags should be listed for the given command.

$ mycli --one
--two  --three

pzombade avatar Feb 23 '22 14:02 pzombade

Hey, sorry for the late reply.

This looks like a bash comp bug. zsh/powershell works good. Thanks for reporting!

cristiand391 avatar Apr 26 '23 13:04 cristiand391

This issue has been linked to a new work item: W-13104321

git2gus[bot] avatar Apr 26 '23 13:04 git2gus[bot]