Skip to content

Commit

Permalink
Merge pull request #1 from loft-nathan-rockwood/fix/autocomplete-bug
Browse files Browse the repository at this point in the history
Fixed autocomplete execution bug
  • Loading branch information
loft-nathan-rockwood authored Jan 31, 2024
2 parents b2ef9d9 + 59fa0f0 commit e1aba01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
release:
@python setup.py sdist bdist_wheel upload
@python3 setup.py sdist bdist_wheel upload
.PHONY: release

build-dev:
@python3 setup.py sdist bdist_wheel
.PHONY: build-dev

testrepl:
@python bin/testrepl.py repl
@python3 bin/testrepl.py repl
.PHONY: testrepl
2 changes: 2 additions & 0 deletions click_repl/_completer.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,8 @@ def _get_completion_for_cmd_args(
)
break

param_called = False

elif isinstance(param, click.Argument):
choices.extend(
self._get_completion_from_params(
Expand Down

0 comments on commit e1aba01

Please sign in to comment.