Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work for second flag #319

Open
pzombade opened this issue Feb 23, 2022 · 2 comments
Open

Does not work for second flag #319

pzombade opened this issue Feb 23, 2022 · 2 comments
Labels
bug Something is not working

Comments

@pzombade
Copy link

pzombade commented Feb 23, 2022

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
@cristiand391
Copy link
Member

cristiand391 commented Apr 26, 2023

Hey, sorry for the late reply.

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

@git2gus
Copy link

git2gus bot commented Apr 26, 2023

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

@mdonnalley mdonnalley added bug Something is not working and removed bug labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

3 participants