Skip to content

Commit 73cd8b8

Browse files
authored
Merge pull request #123 from druids/FixAliasCompletion
Fixed alias completion
2 parents 8a04523 + 59589d2 commit 73cd8b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

developers_chamber/click/alias.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ def format_epilog(self, ctx, formatter) -> None:
9999
click_command.format_options(ctx, formatter)
100100
formatter.write_paragraph()
101101

102+
def shell_complete(self, ctx, param):
103+
from click.shell_completion import CompletionItem
104+
105+
return [CompletionItem(param, type="file")]
106+
102107
def invoke(self, ctx):
103108
from developers_chamber.scripts import cli
104109

0 commit comments

Comments
 (0)