mercredi 13 juillet 2016

Python library click autocomplete does not work at a depth of 3 groups

I have this structure commands.

cli       (group - entry point)
-ip       (group)
--static  (group)
---foo    (method)
--floaing (group)
---bar    (method)

And when i pressing :

  1. attempt - i have correct autocomplete such as ip command
  2. attempt - i have correct autocomplete such as floating and static commands
  3. attempt - i have incorrect autocomplete - list of all files in current dir instead of bar command.

Screenshot

I submit my code into gist May be someone know solution?

Thanks for all suggestions!

Aucun commentaire:

Enregistrer un commentaire