Skip to content

Does not work for second flag #319

Description

@pzombade

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions